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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size cryptography-2.1.3-cp27-cp27m-macosx_10_6_intel.whl (1.5 MB) | File type Wheel | Python version cp27 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp27-cp27m-manylinux1_i686.whl (2.0 MB) | File type Wheel | Python version cp27 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp27-cp27m-manylinux1_x86_64.whl (2.2 MB) | File type Wheel | Python version cp27 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp27-cp27mu-manylinux1_i686.whl (2.0 MB) | File type Wheel | Python version cp27 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp27-cp27mu-manylinux1_x86_64.whl (2.2 MB) | File type Wheel | Python version cp27 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp27-cp27m-win32.whl (1.1 MB) | File type Wheel | Python version cp27 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp27-cp27m-win_amd64.whl (1.3 MB) | File type Wheel | Python version cp27 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp34-cp34m-macosx_10_6_intel.whl (1.5 MB) | File type Wheel | Python version cp34 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp34-cp34m-manylinux1_i686.whl (2.0 MB) | File type Wheel | Python version cp34 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp34-cp34m-manylinux1_x86_64.whl (2.2 MB) | File type Wheel | Python version cp34 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp34-cp34m-win32.whl (1.1 MB) | File type Wheel | Python version cp34 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp34-cp34m-win_amd64.whl (1.3 MB) | File type Wheel | Python version cp34 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp35-cp35m-macosx_10_6_intel.whl (1.5 MB) | File type Wheel | Python version cp35 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp35-cp35m-manylinux1_i686.whl (2.0 MB) | File type Wheel | Python version cp35 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp35-cp35m-manylinux1_x86_64.whl (2.2 MB) | File type Wheel | Python version cp35 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp35-cp35m-win32.whl (1.1 MB) | File type Wheel | Python version cp35 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp35-cp35m-win_amd64.whl (1.3 MB) | File type Wheel | Python version cp35 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp36-cp36m-macosx_10_6_intel.whl (1.5 MB) | File type Wheel | Python version cp36 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp36-cp36m-manylinux1_i686.whl (2.0 MB) | File type Wheel | Python version cp36 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp36-cp36m-manylinux1_x86_64.whl (2.2 MB) | File type Wheel | Python version cp36 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp36-cp36m-win32.whl (1.1 MB) | File type Wheel | Python version cp36 | Upload date | Hashes View |
Filename, size cryptography-2.1.3-cp36-cp36m-win_amd64.whl (1.3 MB) | File type Wheel | Python version cp36 | Upload date | Hashes View |
Filename, size cryptography-2.1.3.tar.gz (441.5 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for cryptography-2.1.3-cp27-cp27m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e130218bfb20d644510f24950cbeee350b15f4b318099b627c29975f12b9b7b3 |
|
MD5 | 85db04735846171906596cfa57d63764 |
|
BLAKE2-256 | ddffd20084f8242b191a2c2e2b803c3e076651cce6aa60778e7b8f11bfd1984b |
Hashes for cryptography-2.1.3-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2ff1dda46f63b59bf01287c9a5bc8c8278b875a30c0ef26bac807ea4c1632ce |
|
MD5 | d53ac7d8356f4994f145a62947df2254 |
|
BLAKE2-256 | db0f191eeadfccdb1846cb590ae9825f5f00a71cad778eafc5eabe784df915e9 |
Hashes for cryptography-2.1.3-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d51a144f3447d0d87e07a433a11761e6b50c3ed89de6d0406e191d52612150f |
|
MD5 | 74be834da5ff22526ae9505caad11ce6 |
|
BLAKE2-256 | 90abb7db95a57ce0fa4286d9fae857740ccbd05c955b491107dcbb33048bbae6 |
Hashes for cryptography-2.1.3-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cc18262270dc0266934cfdfea7199dc65b9e3b31c68ead8685eb3649498dbe4 |
|
MD5 | ba8de83934bd6997b05004991d9d966c |
|
BLAKE2-256 | 9beec17e37b53f7c520ae5d9033f2516316cf83d935723b82a89f13940faf0e6 |
Hashes for cryptography-2.1.3-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fc1c6ad9f04871399de407a4f0f555adba5c7ec68068fd27d7ceee9e493755c |
|
MD5 | 88732d9f319c18b402a6c218738a82b8 |
|
BLAKE2-256 | ffac1e88d66b4bfba41565cb8b3a28d9abcf8e228e5e31cd283a353b6a8bfe08 |
Hashes for cryptography-2.1.3-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 317ab5134ea176c03d068de5094e5b6ab580af2ba42ce596536bcc2e694057bc |
|
MD5 | 907e2965ae9abc09b43f1b58a9d1c083 |
|
BLAKE2-256 | 5eb258bbea83aac35741801750cde9a1ac5d9883f37f8dd1f1da3bb5ecb4aabf |
Hashes for cryptography-2.1.3-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af5b36499d6790480de0b9876982d027a698149c3f195c888be53fe48faff8e7 |
|
MD5 | fa6d905fa7321004dafbdfdd2abee340 |
|
BLAKE2-256 | d453daa56c015894b672d7efc8b11022489522ffb6b45102861da86bd811dd02 |
Hashes for cryptography-2.1.3-cp34-cp34m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58d4c74cd6e6f54a60fd32874c03ba6230c9a1673699ee16811a6b96f91faf56 |
|
MD5 | 6ecab8abfd8f71a72ee069c48f5ce2ce |
|
BLAKE2-256 | 6a015385511b6bc6d2205f113040a7f6da95140c2b3489901d1f587da8ab354a |
Hashes for cryptography-2.1.3-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05cb4130ebe2d591141501ed06b85072cb3be5e5a0e943a5c487bd6858adcf64 |
|
MD5 | 17bf2f69b19c81608bb304e231468149 |
|
BLAKE2-256 | 60737094c6a7ddf69f7b5581d193006d1c56ecc7214170f0a5181e85758e71c5 |
Hashes for cryptography-2.1.3-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 791e228b5df8f124bfa33384195864cb9f5420b619580258d9002f14e625312e |
|
MD5 | 36a3d60f88c1492e822fd14996f0ef5f |
|
BLAKE2-256 | c640ccf660178c93c18437dbbed27b1252b006f5f9f2bcce333a009ffbe61fd4 |
Hashes for cryptography-2.1.3-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b03dc0e2ab4bf02b43cf37ecc994344dc34e90567a8a563fb7538832475974c1 |
|
MD5 | aa3dde0baf07966fc7a74fa2e7fedc55 |
|
BLAKE2-256 | 6d370235989fa076ef652de187db36d7fcc06396a567281f83a3d199a0ff8e4e |
Hashes for cryptography-2.1.3-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ec3de13c3b0c5901820a58c337aca0f00be185c49bfc2c07eee0fe0af201c64 |
|
MD5 | 3bf8f2553c097287a69e7637018ada84 |
|
BLAKE2-256 | 92a2ae35d751aebf4abb42a2207d6ec07a0cbadc48a90400fc352a50978a6638 |
Hashes for cryptography-2.1.3-cp35-cp35m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af8a9241bc8e1d2c9f10b7f5c3be8540af0c20b8e9af8c8cf4412971b7f78de5 |
|
MD5 | e900308ffd1895492089acf9f84bbc58 |
|
BLAKE2-256 | e5c857f7b3eae0fe2c8747cf07aeb8db512359d3856a743de0f2d4e01233bcbc |
Hashes for cryptography-2.1.3-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57b7f8be4c817032dcd2c94f4dac6204ec2e85ef1881b4a660e56e7a63529eeb |
|
MD5 | 982e0bec0cadfa295fc9328f64ea7d60 |
|
BLAKE2-256 | d93ae881a52842e2de0e3c035b4afad7397041d9ffd322f1b792d3b2862643ce |
Hashes for cryptography-2.1.3-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35eb35340fdc0b772301f9de985db8d732f3c79dbd647d06b9a8e4e111b53950 |
|
MD5 | 90af8d89360fb64a990225ce3bfdabef |
|
BLAKE2-256 | 052d81e671f286258864d3b0a39e628934b2ddf9f0e12c64341c8c74d95e757d |
Hashes for cryptography-2.1.3-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12a16d4c7324166d78e112892236dd07e9b734cbee267ebf58a66c0f2a6fb3ae |
|
MD5 | 9c7cb74b4da6ef46e290c78e5f90fc82 |
|
BLAKE2-256 | 6fccedbfa6de08e4790b737a1faff35b61f4ed2f410896660099f1b8faf82771 |
Hashes for cryptography-2.1.3-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 346db72935450d2fb5c807e7f2051830e9bd33ea9471cd14bbf585ea2d5b7c0d |
|
MD5 | 140bd07e49b236bc2ff96d0dcd3d1226 |
|
BLAKE2-256 | 791cfc13f1832636c474129e34ac1ca1b5986a048ca074d45973cd4874bcac46 |
Hashes for cryptography-2.1.3-cp36-cp36m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4dbf045ee55aabdeb1e8e7550783f42c6f51d70a6069bd63669f34a4408b506 |
|
MD5 | 01535d2981e70e8275abd303a864a027 |
|
BLAKE2-256 | 7a42f141b80bdc72380b005381422d0d1a69f5c31e88c34697c8bd1885019412 |
Hashes for cryptography-2.1.3-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3beb79972cc26fa7fb553e59a0e96e476cd73c29c3d80456ac6562e7b217a677 |
|
MD5 | e82ce41690d1870a0a790975db14dbf2 |
|
BLAKE2-256 | b3c09cd2829900443c6145dad32887cc44f0a33bf425db52ddf1d361ec6fd4df |
Hashes for cryptography-2.1.3-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d72c8cd1e2be9942052b85b1481c74b2eb36780889696ce66afe602c04b9c67 |
|
MD5 | e42f6afcaf3ef172a6f65abbbfd9a294 |
|
BLAKE2-256 | 915f8bb6739c8312081549fcfb9653fdcc6a45eabac4d481ed120d6a9d33c2e1 |
Hashes for cryptography-2.1.3-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0764c38c8e2e83238be5821757271cd3ef91dc3ee5bd7915c6b8e255bf1ad5c8 |
|
MD5 | 547136aa7642db609be8466001746c12 |
|
BLAKE2-256 | 803fc6aaac4cdda573764d2e01799c9b73323adb76534dbe0cb332ec4fcdc838 |
Hashes for cryptography-2.1.3-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06c5a28e12539485c0c9e2e561335b835f5f0fdf2d5700b49835bad8607952ba |
|
MD5 | c9425f53119a8c91ec632e75d2baee92 |
|
BLAKE2-256 | b7c5f1c09ea19fe7a884b0c9bc5baf6243807bf066282a5e8a5d00cf177c426a |