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 2.6-2.7, Python 3.4+, and PyPy 5.3+.
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.
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-2.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e9a60a5c31f8fc5b0c5c820f2e4beb387414c28ab9edbf9307afcc65edd5a8b |
|
MD5 | 97e2b93c76cfa89d427f667f4ae1927e |
|
BLAKE2b-256 | 181b2f06aa291e76428cac3c5635714c4e444454ede3a53dd78bf16165b7cffd |
Hashes for cryptography-2.0-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f8112335483f72ad1243de3bd080fcc54bd0aa663028be3cbccfd997b28f79f |
|
MD5 | 11a1ca58cbb84d7b3793925acb6277f4 |
|
BLAKE2b-256 | c800cec7f735282a081836b4ae6a89cb0ab77ac20bdfb4760146423a180b42d9 |
Hashes for cryptography-2.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b436dcb13edbfd71dcdd312476699bc8885524c54bf76441471b5b215eb7f956 |
|
MD5 | 9de3f164542cb2305ed50371df7deff8 |
|
BLAKE2b-256 | 3f1234dfdaaabb0c75815310e07e7f3c36cf5df52cd315a8d85a4221d9ccb404 |
Hashes for cryptography-2.0-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0190fb32db3643689e558b588778fd7fb4ca01b8d45812f3883fccc7c6ce59c |
|
MD5 | 49192de89d9a54580f7cef12bd2aabbd |
|
BLAKE2b-256 | 15c859be49a46e27ce9f81049249659b171d8844d9fd7e30958e113f5ebfa8ce |
Hashes for cryptography-2.0-cp36-cp36m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c63915bcf431cf327822073ba212973851288b106d46316d94df4c735133112 |
|
MD5 | b8dd1de225d880b5780298352ed48646 |
|
BLAKE2b-256 | 2ae55e016fccaefb11fa4c5bd97de009f3ac2f0240c84bf582619892d6ab8bf3 |
Hashes for cryptography-2.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31462bd3aab4cf099256b3ff96871d32d5eafab22d1ae036e4fcdc2d69fe2752 |
|
MD5 | 6c8b16716af3c0d17fd8b7b6e65e0385 |
|
BLAKE2b-256 | 006e61e58ffef6824d5584ef279a01b40a0fe6f590cc330106d7681485c6288c |
Hashes for cryptography-2.0-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41b6910bf3a84dcb8a759466aa9b88eb27ef9cc081f1b05e1bd0240a24aa07d8 |
|
MD5 | dfe502818106ce5a39824d7bf9a6bd1b |
|
BLAKE2b-256 | 2a41427dca8f7e30daac38632df1bf6c1863781397724c2bf56cc4838011d210 |
Hashes for cryptography-2.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7afc34d381eacb97df127473f56a209ccdf82a03a506163d827c6b768527265 |
|
MD5 | 800c785e5fb1af06bd118fbc5cb7ac56 |
|
BLAKE2b-256 | 1e1ca8bcc42f032f45eca21c052d9eaea8bf7eb9f7304d28ebc6ced9cef9176c |
Hashes for cryptography-2.0-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e625cba7d19fb356236e54b202ea3a3668cb849b8a1b8c2bda0ed350ddabe72b |
|
MD5 | bda3b021d243d8c611aed6ee6bba86ee |
|
BLAKE2b-256 | e54f7e0e8f9fac7be187aff4ad79bb61993b1be721d80db605f7caeaf1fcb5ce |
Hashes for cryptography-2.0-cp35-cp35m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a726d9d85ee3b5af0d8cef0eac1d8e3748037754376b0a13511ba1408c6ce96d |
|
MD5 | be4682f6a25955c8f5bd8fb24e7d1a6c |
|
BLAKE2b-256 | 915435da5969e3bcd6dabc6c5f730bfcd998852c6b90f6221ac0e6fcba236b85 |
Hashes for cryptography-2.0-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce3f82012f01c3d2b2880f168cd1196ff5394d42e602def6b0727e1729a5d2ad |
|
MD5 | 51a05b235b977685e84972ab4f8c1430 |
|
BLAKE2b-256 | 557f8fe7e72c75a79d1b6a373d45473e7b772751cf2f086d92425e8c0aaed3c3 |
Hashes for cryptography-2.0-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fa3747bc93e5e63366f856f9f919a85de3ed4fabe99506d8ca59e120d2f23ff |
|
MD5 | 8effbfd3afb4cd65a74eee5c135cbcf4 |
|
BLAKE2b-256 | c56fc51f39e0c2bafe846eb03c21d4d6805b8b8556c4d060961b66ca5f2cc366 |
Hashes for cryptography-2.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 630e16ffa654f86bde0e66c4dc069334f6f582fc79c4483ca219130c849f00c2 |
|
MD5 | ec24c71022a055a1cf43bb68fc4bf603 |
|
BLAKE2b-256 | 541f25584ba8db9174eabd3130b725547a19757209956321ac9975140dd8654e |
Hashes for cryptography-2.0-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 720b68bcb7c0982177dec00f809da828fcc9d05535665f258e785c17e50cab7f |
|
MD5 | e3193da369f4fece2f7c9cd051861765 |
|
BLAKE2b-256 | 8fd6760e633eb29e8cd732f1563a1a58521ac510840425187371d0c0fb873b98 |
Hashes for cryptography-2.0-cp34-cp34m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 106637f1805b7d0e8f85a1b8659854081f37791fbb361914860f41845e0cdee1 |
|
MD5 | fda3195529da42855cf2217ca0603f69 |
|
BLAKE2b-256 | 77753c4bd48b23367fe307c0ab4d39816970ff36dd58b19436fbe074d8471b8e |
Hashes for cryptography-2.0-cp33-cp33m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3419a83d84b1153622a1f02c10a76048fb8519fb81e2ccdc0dfdef30a3b59081 |
|
MD5 | f904b46b2fe45533aab5837af304c35a |
|
BLAKE2b-256 | 9df61694f11caa39ada3b6fb00d196396c45cef81361bf63ba05ca2dcdaa92ca |
Hashes for cryptography-2.0-cp33-cp33m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f426698db20d7ec29b85db16e989ce5e84a4bbd9384479f00ab12de3d3173ba |
|
MD5 | 5b023bebbcb48ac8b71964d037403fbc |
|
BLAKE2b-256 | 2c22b1765a075b7317a0381e59b0c604859289eeb6be0d57781e69d004b45989 |
Hashes for cryptography-2.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a62f2eb1ae014ce3beb80f0f7ad5a7b66ceef98924daf14e1e23d383d12df5bb |
|
MD5 | af2932bccefaa65c3abc9e657c9ddc85 |
|
BLAKE2b-256 | 702b51b9b2dbd7ec67f88646911a45e3f5d5037e34639b2ef4a05cee006375d2 |
Hashes for cryptography-2.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 582cb8d21e7ff2455887e296bc719c7fd21521f37864fbd3f170ef5e0d09e0e6 |
|
MD5 | 17c3bc8fc228e7859dd4521c855f8274 |
|
BLAKE2b-256 | 752d8bc28f564d0c2939497aa770367b812289461439f302dae8ad6320b47ebe |
Hashes for cryptography-2.0-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e69a98b9cf3f170ae796bc7872aff1ae537907007ff34c7e2e920007c903ade2 |
|
MD5 | 00d22b42101b5e4c95bf1c4912b41b42 |
|
BLAKE2b-256 | 81a8fc49d282608113e6ca1ac3aef366e29a5622e3b2d277eda4ebfebf5b9cee |
Hashes for cryptography-2.0-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17f7a3c1d52a0e75791fe6b093fc1d41cb24e42ddd9cfff68245d36deaacafc4 |
|
MD5 | 9575ea3da54abfb84e4e164781e33355 |
|
BLAKE2b-256 | 3ef2cde6dfd3c0c3befe00271059aa97bfcd21e5c3f824aad6fc36faeae756bf |
Hashes for cryptography-2.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 039ab9a0accbef0c1af8fadd4a27ef5ff31d9224ab1667822f8b63dbd2bd7b9f |
|
MD5 | d29949c91966972c8c37fb6b97b925ee |
|
BLAKE2b-256 | 24304bcbcc7e41068e5dadcc1ef611a1f1a1879f78cfc9567eeb68f359e34726 |
Hashes for cryptography-2.0-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8dd999239520a75765ec942752f7542561cf94c323668dcc2c0d43b9a7dafda |
|
MD5 | b79c0475e04a319697bfeeae1daacd70 |
|
BLAKE2b-256 | c25430101ef40e99c7bf02d41baa3b4aed6862bcb541c18bbde64c990131a2f0 |
Hashes for cryptography-2.0-cp27-cp27m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f56a3cf464b57b5b5d32d85b97e5ef5d87a071d9ecd47240c50b7ed14b5f7f13 |
|
MD5 | 40806eee007e8426ce284748d503d8e3 |
|
BLAKE2b-256 | df4d4d6c385dce52ff25012488977ae07b61e336496222b4a59edaec55884743 |
Hashes for cryptography-2.0-cp26-cp26mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0acca42b75a6a2ab2d3d7d5866f961888dc64e3e2a623dbf7061fa1f853fce6d |
|
MD5 | 58f260f4b70e487746925031661cbb89 |
|
BLAKE2b-256 | 9803b7788c11ed96caa13c642657af84f757d347788e249329505f16cda84eb5 |
Hashes for cryptography-2.0-cp26-cp26mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8d2dfab1ea3806837c416ef02f0959de1d33e23d0a756680a3b2fde9be55350 |
|
MD5 | 3abddf44336911681547978709a38732 |
|
BLAKE2b-256 | c949b194df8a4974b3871364d0a05c7aaab70ca855c0e5c06a480fd095e5f829 |
Hashes for cryptography-2.0-cp26-cp26m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abb7ff6f4c68439421cb14d5fc0b82c3527f577ec4d8598220203b9e2ae7c3d2 |
|
MD5 | ce353b0ef39a429c0d1f8505608ba7eb |
|
BLAKE2b-256 | fbe64a5a4c80f881545199cb649fb4f6dc0157bc5e3d47c367df9e0944b6a032 |
Hashes for cryptography-2.0-cp26-cp26m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | feaa8b96de06dc7cedbf76ca2800d546647112cf7302bcfab7afc3eac592b34b |
|
MD5 | 7ab8b3999bdbb1e05ad4014b9e4b2b73 |
|
BLAKE2b-256 | d8b762aee3acceb766881b54bb37cdc7a3991988359977041cd896da280348a3 |
Hashes for cryptography-2.0-cp26-cp26m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3e9383c150badf37a357ab79fc96d0291a7cfaaa52ef81d79ff451c0beb253c |
|
MD5 | 5a4c0f46398dabd5b1ee17d2e8ad8af7 |
|
BLAKE2b-256 | c59c975869b6cdc41d9df8881c1bdb304933c271568769c9c03a17da7baa1981 |
Hashes for cryptography-2.0-cp26-cp26m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5aacbb07d8b0869a632ca43ddd8f0529d805bc8a4f359c9bf2f75fae00350165 |
|
MD5 | f9d2bf1237564498c29d3bd934d72e4f |
|
BLAKE2b-256 | 839afa1e053c205239e9b4af9534a134bca1cf2c249cfd6a61fd147adf2d8cf5 |
Hashes for cryptography-2.0-cp26-cp26m-macosx_10_12_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59e074f2d194f4451dbe2f893a71de371e5a214dfe153021fe7975481356ac80 |
|
MD5 | 336130c14426eecea7301d14db1e24d9 |
|
BLAKE2b-256 | 22e8506427b9d0f0a61f8974f61a87d092ab6a5a15a19fe7e0a9558336f86a0a |