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

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 #pyca on irc.libera.chat to ask questions or get involved.

Security

Need to report a security issue? Please consult our security reporting documentation.

Release files for cryptography 37.0.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 37.0.2
File Size Uploaded
cryptography-37.0.2.tar.gz 585.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for cryptography 37.0.2
File
cryptography-37.0.2-pp39-pypy39_pp73-win_amd64.whl PyPy 3.9 PyPy 3.9 7.3 Windows x86-64 Details
cryptography-37.0.2-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl PyPy 3.9 PyPy 3.9 7.3 Linux glibc 2.24+ x86-64 Details
cryptography-37.0.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl PyPy 3.9 PyPy 3.9 7.3 Linux glibc 2.17+ x86-64 Details
cryptography-37.0.2-pp39-pypy39_pp73-macosx_10_10_x86_64.whl PyPy 3.9 PyPy 3.9 7.3 macOS 10.10+ x86-64 Details
cryptography-37.0.2-pp38-pypy38_pp73-win_amd64.whl PyPy 3.8 PyPy 3.8 7.3 Windows x86-64 Details
cryptography-37.0.2-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl PyPy 3.8 PyPy 3.8 7.3 Linux glibc 2.24+ x86-64 Details
cryptography-37.0.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl PyPy 3.8 PyPy 3.8 7.3 Linux glibc 2.17+ x86-64 Details
cryptography-37.0.2-pp38-pypy38_pp73-macosx_10_10_x86_64.whl PyPy 3.8 PyPy 3.8 7.3 macOS 10.10+ x86-64 Details
cryptography-37.0.2-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl PyPy 3.7 PyPy 3.7 7.3 Linux glibc 2.24+ x86-64 Details
cryptography-37.0.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl PyPy 3.7 PyPy 3.7 7.3 Linux glibc 2.17+ x86-64 Details
cryptography-37.0.2-cp36-abi3-win_amd64.whl CPython 3.6 abi3 Windows x86-64 Details
cryptography-37.0.2-cp36-abi3-win32.whl CPython 3.6 abi3 Windows x86-32 Details
cryptography-37.0.2-cp36-abi3-musllinux_1_1_x86_64.whl CPython 3.6 abi3 Linux musl 1.1+ x86-64 Details
cryptography-37.0.2-cp36-abi3-musllinux_1_1_aarch64.whl CPython 3.6 abi3 Linux musl 1.1+ ARM64 Details
cryptography-37.0.2-cp36-abi3-manylinux_2_24_x86_64.whl CPython 3.6 abi3 Linux glibc 2.24+ x86-64 Details
cryptography-37.0.2-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.6 abi3 Linux glibc 2.17+ x86-64 Details
cryptography-37.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.6 abi3 Linux glibc 2.17+ ARM64 Details
cryptography-37.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl CPython 3.6 abi3 Linux glibc 2.24+ ARM64, Linux glibc 2.17+ ARM64 Details
cryptography-37.0.2-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl CPython 3.6 abi3 Linux glibc 2.12+ x86-64 Details
cryptography-37.0.2-cp36-abi3-macosx_10_10_x86_64.whl CPython 3.6 abi3 macOS 10.10+ x86-64 Details
cryptography-37.0.2-cp36-abi3-macosx_10_10_universal2.whl CPython 3.6 abi3 macOS 10.10+ universal2 (ARM64, x86-64) Details

Total release size:71.8 MB

Release files / cryptography-37.0.2.tar.gz

Download URL cryptography-37.0.2.tar.gz
Size 585.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f224ad253cc9cea7568f49077007d2263efa57396a2f2f78114066fd54b5c68e
BLAKE2b-256 checksum
How to use checksums
5105bb2b681f6a77276fc423d04187c39dafdb65b799c8d87b62ca82659f9ead
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-pp39-pypy39_pp73-win_amd64.whl

Download URL cryptography-37.0.2-pp39-pypy39_pp73-win_amd64.whl
Size 2.3 MB
Tags PyPy 3.9 PyPy 3.9 7.3 Windows x86-64
SHA-256 checksum
How to use checksums
3b8398b3d0efc420e777c40c16764d6870bcef2eb383df9c6dbb9ffe12c64452
BLAKE2b-256 checksum
How to use checksums
b0c9433457e9c94770c21f4b61594d8d3193bcb659de4423b982f4a29bf10b18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl

Download URL cryptography-37.0.2-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl
Size 3.4 MB
Tags Linux glibc 2.24+ x86-64 PyPy 3.9 PyPy 3.9 7.3
SHA-256 checksum
How to use checksums
dc26bb134452081859aa21d4990474ddb7e863aa39e60d1592800a8865a702de
BLAKE2b-256 checksum
How to use checksums
16cdc6af461f422db83ec125b9d1fb3cccfcf796b9526017ab347fe7a4fdc629
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cryptography-37.0.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.4 MB
Tags Linux glibc 2.17+ x86-64 PyPy 3.9 PyPy 3.9 7.3
SHA-256 checksum
How to use checksums
419c57d7b63f5ec38b1199a9521d77d7d1754eb97827bbb773162073ccd8c8d4
BLAKE2b-256 checksum
How to use checksums
2efb37e1b2d8d399fa6738b437e68bbb82ff0e4fdbf1eddd4d794330594d768f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-pp39-pypy39_pp73-macosx_10_10_x86_64.whl

Download URL cryptography-37.0.2-pp39-pypy39_pp73-macosx_10_10_x86_64.whl
Size 2.7 MB
Tags PyPy 3.9 PyPy 3.9 7.3 macOS 10.10+ x86-64
SHA-256 checksum
How to use checksums
1f3bfbd611db5cb58ca82f3deb35e83af34bb8cf06043fa61500157d50a70982
BLAKE2b-256 checksum
How to use checksums
dc2957cbcf4f38546d6558b380a1ac6e3d8f91ff6acb262ef2fd26d6dc25f935
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-pp38-pypy38_pp73-win_amd64.whl

Download URL cryptography-37.0.2-pp38-pypy38_pp73-win_amd64.whl
Size 2.3 MB
Tags PyPy 3.8 PyPy 3.8 7.3 Windows x86-64
SHA-256 checksum
How to use checksums
e53258e69874a306fcecb88b7534d61820db8a98655662a3dd2ec7f1afd9132f
BLAKE2b-256 checksum
How to use checksums
6e1d84c5cfaa2207c2f3a027884012e13f1439bf684e52aa32add2ad15f3be2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl

Download URL cryptography-37.0.2-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
Size 3.4 MB
Tags Linux glibc 2.24+ x86-64 PyPy 3.8 PyPy 3.8 7.3
SHA-256 checksum
How to use checksums
1b9362d34363f2c71b7853f6251219298124aa4cc2075ae2932e64c91a3e2717
BLAKE2b-256 checksum
How to use checksums
d126de829cb2fdcda864cb4209fb39404d65cf6bb32096e5435d06f793defdc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cryptography-37.0.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.4 MB
Tags Linux glibc 2.17+ x86-64 PyPy 3.8 PyPy 3.8 7.3
SHA-256 checksum
How to use checksums
95e590dd70642eb2079d280420a888190aa040ad20f19ec8c6e097e38aa29e06
BLAKE2b-256 checksum
How to use checksums
523696b4499af0f55fd37d67fbfb8dc9fedaaf28baffcb0e077d9f0d68271572
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-pp38-pypy38_pp73-macosx_10_10_x86_64.whl

Download URL cryptography-37.0.2-pp38-pypy38_pp73-macosx_10_10_x86_64.whl
Size 2.7 MB
Tags PyPy 3.8 PyPy 3.8 7.3 macOS 10.10+ x86-64
SHA-256 checksum
How to use checksums
aeaba7b5e756ea52c8861c133c596afe93dd716cbcacae23b80bc238202dc023
BLAKE2b-256 checksum
How to use checksums
5080687bf168958dc661ea7b061acd4fd693cd32907c255016d2f742f4cbd052
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl

Download URL cryptography-37.0.2-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
Size 3.4 MB
Tags Linux glibc 2.24+ x86-64 PyPy 3.7 PyPy 3.7 7.3
SHA-256 checksum
How to use checksums
a7d5137e556cc0ea418dca6186deabe9129cee318618eb1ffecbd35bee55ddc1
BLAKE2b-256 checksum
How to use checksums
e2f6042a89d61b11fdf6858361574b0c5e647a02438794c1b379509efdc7365c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cryptography-37.0.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.4 MB
Tags Linux glibc 2.17+ x86-64 PyPy 3.7 PyPy 3.7 7.3
SHA-256 checksum
How to use checksums
a68254dd88021f24a68b613d8c51d5c5e74d735878b9e32cc0adf19d1f10aaf9
BLAKE2b-256 checksum
How to use checksums
c2dc43579702d5ff1bfe831379666f7ef9d2b0ac79311205cb0d879fafe39206
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-cp36-abi3-win_amd64.whl

Download URL cryptography-37.0.2-cp36-abi3-win_amd64.whl
Size 2.4 MB
Tags CPython 3.6 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
471e0d70201c069f74c837983189949aa0d24bb2d751b57e26e3761f2f782b8d
BLAKE2b-256 checksum
How to use checksums
f651640fe2a25b774aefcd49b101c850f36e8e4ac164dc5c281b3dfa50c01da7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-cp36-abi3-win32.whl

Download URL cryptography-37.0.2-cp36-abi3-win32.whl
Size 2.1 MB
Tags CPython 3.6 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
731c8abd27693323b348518ed0e0705713a36d79fdbd969ad968fbef0979a7e0
BLAKE2b-256 checksum
How to use checksums
a10951b3b56ec18f1eb395aa12c65e154f8582a08f4af458d4890b80a9f40acd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-cp36-abi3-musllinux_1_1_x86_64.whl

Download URL cryptography-37.0.2-cp36-abi3-musllinux_1_1_x86_64.whl
Size 4.2 MB
Tags CPython 3.6 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
46f4c544f6557a2fefa7ac8ac7d1b17bf9b647bd20b16decc8fbcab7117fbc15
BLAKE2b-256 checksum
How to use checksums
ac96358a0b767bdd40ee51f0843ee87e614f9f3c1754a2247a26eb0d40e80ded
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-cp36-abi3-musllinux_1_1_aarch64.whl

Download URL cryptography-37.0.2-cp36-abi3-musllinux_1_1_aarch64.whl
Size 4.1 MB
Tags CPython 3.6 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
f8ec91983e638a9bcd75b39f1396e5c0dc2330cbd9ce4accefe68717e6779e0a
BLAKE2b-256 checksum
How to use checksums
c9d2aac40c7a55192c15f2845565ee769f1627f6cfb73fc73b0a250f8b787f41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-cp36-abi3-manylinux_2_24_x86_64.whl

Download URL cryptography-37.0.2-cp36-abi3-manylinux_2_24_x86_64.whl
Size 4.0 MB
Tags CPython 3.6 Linux glibc 2.24+ x86-64 abi3
SHA-256 checksum
How to use checksums
0cc20f655157d4cfc7bada909dc5cc228211b075ba8407c46467f63597c78178
BLAKE2b-256 checksum
How to use checksums
55ba2268399be15f1542a3bacf6e60fdaf4fea0b18e5190e87b97075e03cb155
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cryptography-37.0.2-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.1 MB
Tags CPython 3.6 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
59b281eab51e1b6b6afa525af2bd93c16d49358404f814fe2c2410058623928c
BLAKE2b-256 checksum
How to use checksums
06012a237fae9ea9a7aecc182cd09348c4eb4c5d8a9ef3a50d1f2a60a1004603
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL cryptography-37.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 4.0 MB
Tags CPython 3.6 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
093cb351031656d3ee2f4fa1be579a8c69c754cf874206be1d4cf3b542042804
BLAKE2b-256 checksum
How to use checksums
8e38055c75d4f6180aa3525eabaa5a0eabadd174594c7d5eeac6741db663dcd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl

Download URL cryptography-37.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Size 3.6 MB
Tags CPython 3.6 Linux glibc 2.17+ ARM64 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
31fe38d14d2e5f787e0aecef831457da6cec68e0bb09a35835b0b44ae8b988fe
BLAKE2b-256 checksum
How to use checksums
1d63eb9ee3c63cebf6bac454617085376b7e2cdc1ae022e55fbc1d0194d4eae4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL cryptography-37.0.2-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 4.0 MB
Tags CPython 3.6 Linux glibc 2.12+ x86-64 abi3
SHA-256 checksum
How to use checksums
2bd1096476aaac820426239ab534b636c77d71af66c547b9ddcd76eb9c79e004
BLAKE2b-256 checksum
How to use checksums
4510de0bdaaf4410dd046404e38d57bfe8a567aa94c8b7b6cf858d759112a947
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-cp36-abi3-macosx_10_10_x86_64.whl

Download URL cryptography-37.0.2-cp36-abi3-macosx_10_10_x86_64.whl
Size 2.8 MB
Tags CPython 3.6 abi3 macOS 10.10+ x86-64
SHA-256 checksum
How to use checksums
3c81599befb4d4f3d7648ed3217e00d21a9341a9a688ecdd615ff72ffbed7336
BLAKE2b-256 checksum
How to use checksums
b4b7b39f5812f3fc787be8a1bad7fd9bcf39cfa9b058bb3f3c0bc1b7659e9d77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release files / cryptography-37.0.2-cp36-abi3-macosx_10_10_universal2.whl

Download URL cryptography-37.0.2-cp36-abi3-macosx_10_10_universal2.whl
Size 5.3 MB
Tags CPython 3.6 abi3 macOS 10.10+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
ef15c2df7656763b4ff20a9bc4381d8352e6640cfeb95c2972c38ef508e75181
BLAKE2b-256 checksum
How to use checksums
80e289a180c6dc1c3fe33f7f8965da6401cf0b31f440f4e59e9b024b6f54eb0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.1

Release history Release notifications | RSS feed

This release

37.0.2 This release

22 release files

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

2.9.2

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