cryptography is a package which provides cryptographic recipes and primitives to Python developers.
Project description
cryptography is a package which provides cryptographic recipes and primitives to Python developers. Our goal is for it to be your “cryptographic standard library”. It supports Python 3.6+ and PyPy3 7.2+.
cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions. For example, to encrypt something with cryptography’s high level symmetric encryption recipe:
>>> from cryptography.fernet import Fernet
>>> # Put this somewhere safe!
>>> key = Fernet.generate_key()
>>> f = Fernet(key)
>>> token = f.encrypt(b"A really secret message. Not for prying eyes.")
>>> token
'...'
>>> f.decrypt(token)
'A really secret message. Not for prying eyes.'
You can find more information in the documentation.
You can install cryptography with:
$ pip install cryptography
For full details see the installation documentation.
Discussion
If you run into bugs, you can file them in our issue tracker.
We maintain a cryptography-dev mailing list for development discussion.
You can also join #cryptography-dev on Freenode to ask questions or get involved.
Security
Need to report a security issue? Please consult our security reporting documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for cryptography-3.4.3-cp36-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c58467c96f3b79cf9eb4628371c235427db2c1ece210c2c539d38d23338875e4 |
|
MD5 | 30118b1db21e18a00456795e58ae9242 |
|
BLAKE2b-256 | 192f1d6062a35d8429a6785a74ba05787c7c02230a747862bdd3274daf63555b |
Hashes for cryptography-3.4.3-cp36-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 965fd6905f188876a49f1b9edadad0847ef8d056cd4995e82b9a4f03ac049bd0 |
|
MD5 | c969c223eae1e03585a3b666732f41ab |
|
BLAKE2b-256 | ac1b39590dba85b839399369a8689474b03981dcae61687985794c99f9d57510 |
Hashes for cryptography-3.4.3-cp36-abi3-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 180baf51ad689b3b86bce7c2bf0cfff491fdea16fa2fe640a77e316ee26bad1e |
|
MD5 | 4af8b514c7468c2a86fdb4c0a7bf5ee7 |
|
BLAKE2b-256 | a193982a8a1276eea3167fb39e037881b861a59386772e0be9bcb0fe9ae33f2e |
Hashes for cryptography-3.4.3-cp36-abi3-manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a37179da6d3a67db8e324d60d9e421b3cfd5ca6467b6861d9b1ce86dd191be3 |
|
MD5 | 3d5c27c3caba9d4b289cde905754cb06 |
|
BLAKE2b-256 | 9d42b17395878c28bd95b36e6819e1dfd41ded6be18aef2d7da9bff327249a3f |
Hashes for cryptography-3.4.3-cp36-abi3-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbce8faaaee586d5c84c5eacf77f227710b3bf24f229f6ced6f9fe3e7a662223 |
|
MD5 | 8141daffe0b2401c01f7771d3d7cf376 |
|
BLAKE2b-256 | 5e1b67a6a9c42c0222ba997f63629e6703466ac7fc242c2b6752acad383376a5 |
Hashes for cryptography-3.4.3-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cce61b179ff415ccc67393c6d6fa577aedb23d776779527c79ebf2438d4d25b |
|
MD5 | bb7321165bdae8acc470e0226a8b0211 |
|
BLAKE2b-256 | 567fbf0d78219e41f51a7ae73aa84f3b601c5af8863728c3f75e87f7daedd4ad |