codekingpro/portable-devtools
114k
1Metadata-Version: 2.1
2Name: cryptography
3Version: 42.0.7
4Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers.
5Author-email: The Python Cryptographic Authority and individual contributors <cryptography-dev@python.org>
6License: Apache-2.0 OR BSD-3-Clause
7Project-URL: homepage, https://github.com/pyca/cryptography
8Project-URL: documentation, https://cryptography.io/
9Project-URL: source, https://github.com/pyca/cryptography/
10Project-URL: issues, https://github.com/pyca/cryptography/issues
11Project-URL: changelog, https://cryptography.io/en/latest/changelog/
12Classifier: Development Status :: 5 - Production/Stable
13Classifier: Intended Audience :: Developers
14Classifier: License :: OSI Approved :: Apache Software License
15Classifier: License :: OSI Approved :: BSD License
16Classifier: Natural Language :: English
17Classifier: Operating System :: MacOS :: MacOS X
18Classifier: Operating System :: POSIX
19Classifier: Operating System :: POSIX :: BSD
20Classifier: Operating System :: POSIX :: Linux
21Classifier: Operating System :: Microsoft :: Windows
22Classifier: Programming Language :: Python
23Classifier: Programming Language :: Python :: 3
24Classifier: Programming Language :: Python :: 3 :: Only
25Classifier: Programming Language :: Python :: 3.7
26Classifier: Programming Language :: Python :: 3.8
27Classifier: Programming Language :: Python :: 3.9
28Classifier: Programming Language :: Python :: 3.10
29Classifier: Programming Language :: Python :: 3.11
30Classifier: Programming Language :: Python :: 3.12
31Classifier: Programming Language :: Python :: Implementation :: CPython
32Classifier: Programming Language :: Python :: Implementation :: PyPy
33Classifier: Topic :: Security :: Cryptography
34Requires-Python: >=3.7
35Description-Content-Type: text/x-rst
36License-File: LICENSE
37License-File: LICENSE.APACHE
38License-File: LICENSE.BSD
39Requires-Dist: cffi >=1.12 ; platform_python_implementation != "PyPy"
40Provides-Extra: docs
41Requires-Dist: sphinx >=5.3.0 ; extra == 'docs'
42Requires-Dist: sphinx-rtd-theme >=1.1.1 ; extra == 'docs'
43Provides-Extra: docstest
44Requires-Dist: pyenchant >=1.6.11 ; extra == 'docstest'
45Requires-Dist: readme-renderer ; extra == 'docstest'
46Requires-Dist: sphinxcontrib-spelling >=4.0.1 ; extra == 'docstest'
47Provides-Extra: nox
48Requires-Dist: nox ; extra == 'nox'
49Provides-Extra: pep8test
50Requires-Dist: ruff ; extra == 'pep8test'
51Requires-Dist: mypy ; extra == 'pep8test'
52Requires-Dist: check-sdist ; extra == 'pep8test'
53Requires-Dist: click ; extra == 'pep8test'
54Provides-Extra: sdist
55Requires-Dist: build ; extra == 'sdist'
56Provides-Extra: ssh
57Requires-Dist: bcrypt >=3.1.5 ; extra == 'ssh'
58Provides-Extra: test
59Requires-Dist: pytest >=6.2.0 ; extra == 'test'
60Requires-Dist: pytest-benchmark ; extra == 'test'
61Requires-Dist: pytest-cov ; extra == 'test'
62Requires-Dist: pytest-xdist ; extra == 'test'
63Requires-Dist: pretend ; extra == 'test'
64Requires-Dist: certifi ; extra == 'test'
65Provides-Extra: test-randomorder
66Requires-Dist: pytest-randomly ; extra == 'test-randomorder'
67
68pyca/cryptography
69=================
70
71.. image:: https://img.shields.io/pypi/v/cryptography.svg
72 :target: https://pypi.org/project/cryptography/
73 :alt: Latest Version
74
75.. image:: https://readthedocs.org/projects/cryptography/badge/?version=latest
76 :target: https://cryptography.io
77 :alt: Latest Docs
78
79.. image:: https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=main
80 :target: https://github.com/pyca/cryptography/actions?query=workflow%3ACI+branch%3Amain
81
82
83``cryptography`` is a package which provides cryptographic recipes and
84primitives to Python developers. Our goal is for it to be your "cryptographic
85standard library". It supports Python 3.7+ and PyPy3 7.3.11+.
86
87``cryptography`` includes both high level recipes and low level interfaces to
88common cryptographic algorithms such as symmetric ciphers, message digests, and
89key derivation functions. For example, to encrypt something with
90``cryptography``'s high level symmetric encryption recipe:
91
92.. code-block:: pycon
93
94 >>> from cryptography.fernet import Fernet
95 >>> # Put this somewhere safe!
96 >>> key = Fernet.generate_key()
97 >>> f = Fernet(key)
98 >>> token = f.encrypt(b"A really secret message. Not for prying eyes.")
99 >>> token
100 b'...'
101 >>> f.decrypt(token)
102 b'A really secret message. Not for prying eyes.'
103
104You can find more information in the `documentation`_.
105
106You can install ``cryptography`` with:
107
108.. code-block:: console
109
110 $ pip install cryptography
111
112For full details see `the installation documentation`_.
113
114Discussion
115~~~~~~~~~~
116
117If you run into bugs, you can file them in our `issue tracker`_.
118
119We maintain a `cryptography-dev`_ mailing list for development discussion.
120
121You can also join ``#pyca`` on ``irc.libera.chat`` to ask questions or get
122involved.
123
124Security
125~~~~~~~~
126
127Need to report a security issue? Please consult our `security reporting`_
128documentation.
129
130
131.. _`documentation`: https://cryptography.io/
132.. _`the installation documentation`: https://cryptography.io/en/latest/installation/
133.. _`issue tracker`: https://github.com/pyca/cryptography/issues
134.. _`cryptography-dev`: https://mail.python.org/mailman/listinfo/cryptography-dev
135.. _`security reporting`: https://cryptography.io/en/latest/security/
136 