Skip to main content
Latest Version Latest Docs https://travis-ci.org/pyca/cryptography.svg?branch=master https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=master https://codecov.io/github/pyca/cryptography/coverage.svg?branch=master

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.5+, and PyPy 5.4+.

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.9.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cryptography 2.9.2
File Size Uploaded
cryptography-2.9.2.tar.gz 517.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for cryptography 2.9.2
File
cryptography-2.9.2-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
cryptography-2.9.2-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details
cryptography-2.9.2-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
cryptography-2.9.2-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details
cryptography-2.9.2-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
cryptography-2.9.2-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
cryptography-2.9.2-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
cryptography-2.9.2-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details
cryptography-2.9.2-cp35-abi3-manylinux2010_x86_64.whl CPython 3.5 abi3 Linux glibc 2.12+ x86-64 Details
cryptography-2.9.2-cp35-abi3-manylinux1_x86_64.whl CPython 3.5 abi3 Linux glibc 2.5+ x86-64 Details
cryptography-2.9.2-cp35-abi3-macosx_10_9_x86_64.whl CPython 3.5 abi3 macOS 10.9+ x86-64 Details
cryptography-2.9.2-cp27-cp27mu-manylinux2010_x86_64.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.12+ x86-64 Details
cryptography-2.9.2-cp27-cp27mu-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64 Details
cryptography-2.9.2-cp27-cp27m-win_amd64.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-64 Details
cryptography-2.9.2-cp27-cp27m-win32.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-32 Details
cryptography-2.9.2-cp27-cp27m-manylinux2010_x86_64.whl CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.12+ x86-64 Details
cryptography-2.9.2-cp27-cp27m-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64 Details
cryptography-2.9.2-cp27-cp27m-macosx_10_9_x86_64.whl CPython 2.7 CPython 2.7 pymalloc macOS 10.9+ x86-64 Details

Total release size: 34.4 MB

Release files / cryptography-2.9.2.tar.gz

Download URL cryptography-2.9.2.tar.gz
Size 517.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a0c30272fb4ddda5f5ffc1089d7405b7a71b0b0f51993cb4e5dbb4590b2fc229
BLAKE2b-256 checksum
How to use checksums
563b78c6816918fdf2405d62c98e48589112669f36711e50158a0c15d804c30d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp38-cp38-win_amd64.whl

Download URL cryptography-2.9.2-cp38-cp38-win_amd64.whl
Size 1.5 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
1dfa985f62b137909496e7fc182dac687206d8d089dd03eaeb28ae16eec8e7d5
BLAKE2b-256 checksum
How to use checksums
f70033abf1278178dd4314fd943a8b25a39d370acb151e72b0299975af478d1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp38-cp38-win32.whl

Download URL cryptography-2.9.2-cp38-cp38-win32.whl
Size 1.3 MB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
844a76bc04472e5135b909da6aed84360f522ff5dfa47f93e3dd2a0b84a89fa0
BLAKE2b-256 checksum
How to use checksums
f88c152f01a32248780543c0657830b286638ed18977817b754aa93f235fd5b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp37-cp37m-win_amd64.whl

Download URL cryptography-2.9.2-cp37-cp37m-win_amd64.whl
Size 1.5 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
22e91636a51170df0ae4dcbd250d318fd28c9f491c4e50b625a49964b24fe46e
BLAKE2b-256 checksum
How to use checksums
b910900ee22ffe6df9955a894286f097f14b108574053ad1d75839a175623e24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp37-cp37m-win32.whl

Download URL cryptography-2.9.2-cp37-cp37m-win32.whl
Size 1.3 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
18452582a3c85b96014b45686af264563e3e5d99d226589f057ace56196ec78b
BLAKE2b-256 checksum
How to use checksums
de305bd404ab64bce923a58e501bb278922c5f98f8b53aab059af51d37b827df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp36-cp36m-win_amd64.whl

Download URL cryptography-2.9.2-cp36-cp36m-win_amd64.whl
Size 1.5 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
bb1f0281887d89617b4c68e8db9a2c42b9efebf2702a3c5bf70599421a8623e3
BLAKE2b-256 checksum
How to use checksums
4478817db43993423dd4794d3828495df3425a445214180cfe22d0c81a04a155
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp36-cp36m-win32.whl

Download URL cryptography-2.9.2-cp36-cp36m-win32.whl
Size 1.3 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
091d31c42f444c6f519485ed528d8b451d1a0c7bf30e8ca583a0cac44b8a0df6
BLAKE2b-256 checksum
How to use checksums
2ea07a2098f2de23a811c0520bb696143f47a697c7731419a2ac73ca1c996d60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp35-cp35m-win_amd64.whl

Download URL cryptography-2.9.2-cp35-cp35m-win_amd64.whl
Size 1.5 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
726086c17f94747cedbee6efa77e99ae170caebeb1116353c6cf0ab67ea6829b
BLAKE2b-256 checksum
How to use checksums
b412bf8521b158d2c15cc232af6e38f01f8a2a6b54dbc7c5aeca5ce652709725
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp35-cp35m-win32.whl

Download URL cryptography-2.9.2-cp35-cp35m-win32.whl
Size 1.3 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
651448cd2e3a6bc2bb76c3663785133c40d5e1a8c1a9c5429e4354201c6024ae
BLAKE2b-256 checksum
How to use checksums
13da8b9316d10a820579bf2ce6b69eb75ef371f0f82e7ce6e5b7455c757e9891
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp35-abi3-manylinux2010_x86_64.whl

Download URL cryptography-2.9.2-cp35-abi3-manylinux2010_x86_64.whl
Size 2.7 MB
Tags CPython 3.5 Linux glibc 2.12+ x86-64 abi3
SHA-256 checksum
How to use checksums
88c881dd5a147e08d1bdcf2315c04972381d026cdb803325c03fe2b4a8ed858b
BLAKE2b-256 checksum
How to use checksums
3c04686efee2dcdd25aecf357992e7d9362f443eb182ecd623f882bc9f7a6bba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp35-abi3-manylinux1_x86_64.whl

Download URL cryptography-2.9.2-cp35-abi3-manylinux1_x86_64.whl
Size 2.7 MB
Tags CPython 3.5 Linux glibc 2.5+ x86-64 abi3
SHA-256 checksum
How to use checksums
e993468c859d084d5579e2ebee101de8f5a27ce8e2159959b6673b418fd8c785
BLAKE2b-256 checksum
How to use checksums
5895f1282ca55649b60afcf617e1e2ca384a2a3e7a5cf91f724cf83c8fbe76a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp35-abi3-macosx_10_9_x86_64.whl

Download URL cryptography-2.9.2-cp35-abi3-macosx_10_9_x86_64.whl
Size 1.8 MB
Tags CPython 3.5 abi3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
96c080ae7118c10fcbe6229ab43eb8b090fccd31a09ef55f83f690d1ef619a1d
BLAKE2b-256 checksum
How to use checksums
0fed93c2217e732e75c21477c350b2d10a77e08fe2e0065c14644bdb110acfdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp27-cp27mu-manylinux2010_x86_64.whl

Download URL cryptography-2.9.2-cp27-cp27mu-manylinux2010_x86_64.whl
Size 2.7 MB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
1e4014639d3d73fbc5ceff206049c5a9a849cefd106a49fa7aaaa25cc0ce35cf
BLAKE2b-256 checksum
How to use checksums
45f9ee6878ab822eef403a4282c8ce80d56e3121c9576a6544377df809363b50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp27-cp27mu-manylinux1_x86_64.whl

Download URL cryptography-2.9.2-cp27-cp27mu-manylinux1_x86_64.whl
Size 2.7 MB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
d0d5aeaedd29be304848f1c5059074a740fa9f6f26b84c5b63e8b29e73dfc270
BLAKE2b-256 checksum
How to use checksums
5ffca92bad2460d349ee9eb868f9f9dcddb7c8f42a45677d53a5c663fa251e75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp27-cp27m-win_amd64.whl

Download URL cryptography-2.9.2-cp27-cp27m-win_amd64.whl
Size 1.5 MB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
c4fd17d92e9d55b84707f4fd09992081ba872d1a0c610c109c18e062e06a2e55
BLAKE2b-256 checksum
How to use checksums
1af9d60709ff026587ce7cad871ba48426e813a32a069c89756784d8f3e028cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp27-cp27m-win32.whl

Download URL cryptography-2.9.2-cp27-cp27m-win32.whl
Size 1.3 MB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
f118a95c7480f5be0df8afeb9a11bd199aa20afab7a96bcf20409b411a3a85f0
BLAKE2b-256 checksum
How to use checksums
8b08ae480e03a8356d2e7c6135f56d15d205a1b0b2f5d5ee0f123a5777334f7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp27-cp27m-manylinux2010_x86_64.whl

Download URL cryptography-2.9.2-cp27-cp27m-manylinux2010_x86_64.whl
Size 2.7 MB
Tags CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
c447cf087cf2dbddc1add6987bbe2f767ed5317adb2d08af940db517dd704365
BLAKE2b-256 checksum
How to use checksums
56c97741a8de0c80ca6da2c2ad05e8a41538c2b750030cba0d2ae94712b3a7d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp27-cp27m-manylinux1_x86_64.whl

Download URL cryptography-2.9.2-cp27-cp27m-manylinux1_x86_64.whl
Size 2.7 MB
Tags CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
3b3eba865ea2754738616f87292b7f29448aec342a7c720956f8083d252bf28b
BLAKE2b-256 checksum
How to use checksums
336168862dc14933c6e592f88c0402b6f404bb8f9813086eff4504df665181dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / cryptography-2.9.2-cp27-cp27m-macosx_10_9_x86_64.whl

Download URL cryptography-2.9.2-cp27-cp27m-macosx_10_9_x86_64.whl
Size 1.8 MB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
daf54a4b07d67ad437ff239c8a4080cfd1cc7213df57d33c97de7b4738048d5e
BLAKE2b-256 checksum
How to use checksums
a205ee7f0bfad41e31de14bd579ebdff6bce64cccdcce78725103d629ccd0abf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release history Release notifications | RSS feed

3.4.8

19 release files

3.4.7

14 release files

3.4.6

12 release files

3.4.5

7 release files

3.4.4

7 release files

3.4.3

7 release files

3.4.2

7 release files

3.4.1

7 release files

3.4

8 release files

3.3.1

14 release files

3.3

14 release files

3.2.1

22 release files

3.2

22 release files

3.1.1

22 release files

3.1

22 release files

3.0

19 release files

This release

2.9.2 This release

19 release files

2.9.1

19 release files

2.9

19 release files

2.8

21 release files

2.7

16 release files

2.6.1

19 release files

2.6

19 release files

2.5

19 release files

2.4.2

19 release files

2.4.1

19 release files

2.4

13 release files

2.3.1

19 release files

2.3

19 release files

2.2.2

19 release files

2.2.1

17 release files

2.2

17 release files

2.1.4

23 release files

2.1.2

23 release files

2.1.1

27 release files

2.1

27 release files

2.0.2

30 release files

2.0.1

30 release files

2.0

32 release files

1.9

18 release files

1.8.2

26 release files

1.8.1

26 release files

1.8

26 release files

1.7.2

19 release files

1.7.1

26 release files

1.7

22 release files

1.6

22 release files

1.5.2

22 release files

1.5.1

22 release files

1.5

22 release files

1.4

22 release files

1.3.1

24 release files

1.3

21 release files

1.2.2

21 release files

1.2

21 release files

1.1.2

21 release files

1.1.1

21 release files

1.1

17 release files

1.0.2

17 release files

1.0

9 release files

0.9.3

9 release files

0.9.2

9 release files

0.9.1

9 release files

0.9

9 release files

0.8.2

11 release files

0.8.1

11 release files

0.8

11 release files

0.7.2

11 release files

0.7.1

11 release files

0.7

11 release files

0.6.1

11 release files

0.6

11 release files

0.5.4

11 release files

0.5.2

11 release files

0.5

11 release files

0.4

11 release files

0.3

6 release files

0.2.2

5 release files

0.2.1

5 release files

0.2

5 release files

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page