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.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.
Security
Need to report a security issue? Please consult our security reporting documentation.
Metadata
Release files for cryptography 2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cryptography-2.3.tar.gz | 449.5 kB | Without provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| cryptography-2.3-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
| cryptography-2.3-cp37-cp37m-win32.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-32 | Details |
| cryptography-2.3-cp36-cp36m-win_amd64.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-64 | Details |
| cryptography-2.3-cp36-cp36m-win32.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-32 | Details |
| cryptography-2.3-cp35-cp35m-win_amd64.whl | CPython 3.5 | CPython 3.5 pymalloc | Windows x86-64 | Details |
| cryptography-2.3-cp35-cp35m-win32.whl | CPython 3.5 | CPython 3.5 pymalloc | Windows x86-32 | Details |
| cryptography-2.3-cp34-cp34m-win_amd64.whl | CPython 3.4 | CPython 3.4 pymalloc | Windows x86-64 | Details |
| cryptography-2.3-cp34-cp34m-win32.whl | CPython 3.4 | CPython 3.4 pymalloc | Windows x86-32 | Details |
| cryptography-2.3-cp34-abi3-manylinux1_x86_64.whl | CPython 3.4 | abi3 | Linux glibc 2.5+ x86-64 | Details |
| cryptography-2.3-cp34-abi3-manylinux1_i686.whl | CPython 3.4 | abi3 | Linux glibc 2.5+ x86-32 | Details |
| cryptography-2.3-cp34-abi3-macosx_10_6_intel.whl | CPython 3.4 | abi3 | macOS 10.6+ Intel (x86-64, i386) | Details |
| cryptography-2.3-cp27-cp27mu-manylinux1_x86_64.whl | CPython 2.7 | CPython 2.7 pymalloc wide-unicode | Linux glibc 2.5+ x86-64 | Details |
| cryptography-2.3-cp27-cp27mu-manylinux1_i686.whl | CPython 2.7 | CPython 2.7 pymalloc wide-unicode | Linux glibc 2.5+ x86-32 | Details |
| cryptography-2.3-cp27-cp27m-win_amd64.whl | CPython 2.7 | CPython 2.7 pymalloc | Windows x86-64 | Details |
| cryptography-2.3-cp27-cp27m-win32.whl | CPython 2.7 | CPython 2.7 pymalloc | Windows x86-32 | Details |
| cryptography-2.3-cp27-cp27m-manylinux1_x86_64.whl | CPython 2.7 | CPython 2.7 pymalloc | Linux glibc 2.5+ x86-64 | Details |
| cryptography-2.3-cp27-cp27m-manylinux1_i686.whl | CPython 2.7 | CPython 2.7 pymalloc | Linux glibc 2.5+ x86-32 | Details |
| cryptography-2.3-cp27-cp27m-macosx_10_6_intel.whl | CPython 2.7 | CPython 2.7 pymalloc | macOS 10.6+ Intel (x86-64, i386) | Details |
Total release size: 27.3 MB
Release files / cryptography-2.3.tar.gz
| Download URL | cryptography-2.3.tar.gz |
|---|---|
| Size | 449.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c132bab45d4bd0fff1d3fe294d92b0a6eb8404e93337b3127bdec9f21de117e6
|
|
BLAKE2b-256 checksum How to use checksums |
79a261c8625f96c8582d3053f89368c483ba62e56233d055e58e372f94a393f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp37-cp37m-win_amd64.whl
| Download URL | cryptography-2.3-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
cee18beb4c807b5c0b178f4fa2fae03cef9d51821a358c6890f8b23465b7e5d2
|
|
BLAKE2b-256 checksum How to use checksums |
10d26299adf570bca11cd241a2fceb40d397931e54dabbf7d7e945feda9c2393
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp37-cp37m-win32.whl
| Download URL | cryptography-2.3-cp37-cp37m-win32.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
21af753934f2f6d1a10fe8f4c0a64315af209ef6adeaee63ca349797d747d687
|
|
BLAKE2b-256 checksum How to use checksums |
92688f0e1bdb07d2babfd9d16e6b17d0bba1b103ec3bb896ece089b39674238a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp36-cp36m-win_amd64.whl
| Download URL | cryptography-2.3-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
42c531a6a354407f42ee07fda5c2c0dc822cf6d52744949c182f2b295fbd4183
|
|
BLAKE2b-256 checksum How to use checksums |
9e931309bdc65b757bc6318fe835ce9388a2e23e47d3eca93f5834f1d7df70bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp36-cp36m-win32.whl
| Download URL | cryptography-2.3-cp36-cp36m-win32.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
8c56ef989342e42b9fcaba7c74b446f0cc9bed546dd00034fa7ad66fc00307ef
|
|
BLAKE2b-256 checksum How to use checksums |
12ec463105c268c6fd416c37857c3d265d65cf557269299380c2985c538e07cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp35-cp35m-win_amd64.whl
| Download URL | cryptography-2.3-cp35-cp35m-win_amd64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6ec84edcbc966ae460560a51a90046503ff0b5b66157a9efc61515c68059f6c8
|
|
BLAKE2b-256 checksum How to use checksums |
970a29a611d667b1a521e4ed1bc54393570ff245c7ef808f98a95dac887977c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp35-cp35m-win32.whl
| Download URL | cryptography-2.3-cp35-cp35m-win32.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
7d7f084cbe1fdb82be5a0545062b59b1ad3637bc5a48612ac2eb428ff31b31ea
|
|
BLAKE2b-256 checksum How to use checksums |
fa78fe2c845554681de72edd9eb4e8385d1c79143f5c204a6af36f3f33c29777
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp34-cp34m-win_amd64.whl
| Download URL | cryptography-2.3-cp34-cp34m-win_amd64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.4 CPython 3.4 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
82409f5150e529d699e5c33fa8fd85e965104db03bc564f5f4b6a9199e591f7c
|
|
BLAKE2b-256 checksum How to use checksums |
d749da32b5765e0be6da2d8df033b2a0b3e53fa017f5f37fd1ef3290b87c1d43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp34-cp34m-win32.whl
| Download URL | cryptography-2.3-cp34-cp34m-win32.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.4 CPython 3.4 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
29720c4253263cff9aea64585adbbe85013ba647f6e98367efff9db2d7193ded
|
|
BLAKE2b-256 checksum How to use checksums |
1708c2a9e34336c7357ee08bef62eb187badb50982ffce4cc0797e9882704a56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp34-abi3-manylinux1_x86_64.whl
| Download URL | cryptography-2.3-cp34-abi3-manylinux1_x86_64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | CPython 3.4 Linux glibc 2.5+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
5eb86f03f9c4f0ac2336ac5431271072ddf7ecc76b338e26366732cfac58aa19
|
|
BLAKE2b-256 checksum How to use checksums |
c2fafa9a8933c285895935d1392922fe721e9cb1b2c1881d14f149213a227ee3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp34-abi3-manylinux1_i686.whl
| Download URL | cryptography-2.3-cp34-abi3-manylinux1_i686.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.4 Linux glibc 2.5+ x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
2a35b7570d8f247889784010aac8b384fd2e4a47b33e15c4a60b45a7c1944120
|
|
BLAKE2b-256 checksum How to use checksums |
80277117550db1c899d7ee9ca583d2ee5b5e11df7f852efb01a508766feb989b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp34-abi3-macosx_10_6_intel.whl
| Download URL | cryptography-2.3-cp34-abi3-macosx_10_6_intel.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.4 abi3 macOS 10.6+ Intel (x86-64, i386) |
|
SHA-256 checksum How to use checksums |
d01dfc5c2b3495184f683574e03c70022674ca9a7be88589c5aba130d835ea90
|
|
BLAKE2b-256 checksum How to use checksums |
96ba15fa57d62f2c3eb907b50e7dd701181a47e3dce3fe365658f43ba677dd30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp27-cp27mu-manylinux1_x86_64.whl
| Download URL | cryptography-2.3-cp27-cp27mu-manylinux1_x86_64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
bc2301170986ad82d9349a91eb8884e0e191209c45f5541b16aa7c0cfb135978
|
|
BLAKE2b-256 checksum How to use checksums |
6721e79987f1f9abae42d666b1f89b4e78aa096acc00bbf97ad40d19b07b4a83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp27-cp27mu-manylinux1_i686.whl
| Download URL | cryptography-2.3-cp27-cp27mu-manylinux1_i686.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
c3d945b7b577f07a477700f618f46cbc287af3a9222cd73035c6ef527ef2c363
|
|
BLAKE2b-256 checksum How to use checksums |
3359e2e9171a2c50eedba35c326594c83741433bf88d6aaa3903217ba3d67c8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp27-cp27m-win_amd64.whl
| Download URL | cryptography-2.3-cp27-cp27m-win_amd64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 2.7 CPython 2.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9449f5d4d7c516a6118fa9210c4a00f34384cb1d2028672100ee0c6cce49d7f6
|
|
BLAKE2b-256 checksum How to use checksums |
b60a540e33a9e26fd4db5c65b7d270317944e4705f34bb9c7266de9f6caeffe3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp27-cp27m-win32.whl
| Download URL | cryptography-2.3-cp27-cp27m-win32.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 2.7 CPython 2.7 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
7ba834564daef87557e7fcd35c3c3183a4147b0b3a57314e53317360b9b201b3
|
|
BLAKE2b-256 checksum How to use checksums |
eb8a2674f89029a2911a024ac93738d53ce07f510dd3ee80a4d007647bc861c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp27-cp27m-manylinux1_x86_64.whl
| Download URL | cryptography-2.3-cp27-cp27m-manylinux1_x86_64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
27bb401a20a838d6d0ea380f08c6ead3ccd8c9d8a0232dc9adcc0e4994576a66
|
|
BLAKE2b-256 checksum How to use checksums |
ae8933a1e6d2d596f461c9490e3975eea1c040317465e32ce109fe8809ec0916
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp27-cp27m-manylinux1_i686.whl
| Download URL | cryptography-2.3-cp27-cp27m-manylinux1_i686.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
67f7f57eae8dede577f3f7775957f5bec93edd6bdb6ce597bb5b28e1bdf3d4fb
|
|
BLAKE2b-256 checksum How to use checksums |
1a33d3f3ea2168c1ca24e3e45723a88b72a27c59b3cb6048ffe6a0812da09a45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cryptography-2.3-cp27-cp27m-macosx_10_6_intel.whl
| Download URL | cryptography-2.3-cp27-cp27m-macosx_10_6_intel.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 2.7 CPython 2.7 pymalloc macOS 10.6+ Intel (x86-64, i386) |
|
SHA-256 checksum How to use checksums |
87d092a7c2a44e5f7414ab02fb4145723ebba411425e1a99773531dd4c0e9b8d
|
|
BLAKE2b-256 checksum How to use checksums |
79a0b91d31b743b1402295c6cabc8384dea7d0311e19acb21f549e70557394d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cryptography 2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.