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

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.0
File Size Uploaded
cryptography-37.0.0.tar.gz 584.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for cryptography 37.0.0
File
cryptography-37.0.0-pp39-pypy39_pp73-win_amd64.whl PyPy 3.9 PyPy 3.9 7.3 Windows x86-64 Details
cryptography-37.0.0-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.0-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.0-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.0-pp38-pypy38_pp73-win_amd64.whl PyPy 3.8 PyPy 3.8 7.3 Windows x86-64 Details
cryptography-37.0.0-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.0-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.0-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.0-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.0-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.0-cp36-abi3-win_amd64.whl CPython 3.6 abi3 Windows x86-64 Details
cryptography-37.0.0-cp36-abi3-win32.whl CPython 3.6 abi3 Windows x86-32 Details
cryptography-37.0.0-cp36-abi3-musllinux_1_1_x86_64.whl CPython 3.6 abi3 Linux musl 1.1+ x86-64 Details
cryptography-37.0.0-cp36-abi3-musllinux_1_1_aarch64.whl CPython 3.6 abi3 Linux musl 1.1+ ARM64 Details
cryptography-37.0.0-cp36-abi3-manylinux_2_24_x86_64.whl CPython 3.6 abi3 Linux glibc 2.24+ x86-64 Details
cryptography-37.0.0-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.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.6 abi3 Linux glibc 2.17+ ARM64 Details
cryptography-37.0.0-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.0-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.0-cp36-abi3-macosx_10_10_x86_64.whl CPython 3.6 abi3 macOS 10.10+ x86-64 Details
cryptography-37.0.0-cp36-abi3-macosx_10_10_universal2.whl CPython 3.6 abi3 macOS 10.10+ universal2 (ARM64, x86-64) Details

Total release size: 71.7 MB

Release files / cryptography-37.0.0.tar.gz

Download URL cryptography-37.0.0.tar.gz
Size 584.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5a761fc1ff0eae360a80656bea462c3163dfaa8093b2fa0f72af929217b14a97
BLAKE2b-256 checksum
How to use checksums
d788067fcf5fd8db191b9e617bcc0effa1caacfc96acca987724535129aff487
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.0-pp39-pypy39_pp73-win_amd64.whl

Download URL cryptography-37.0.0-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
cab59c774125596fa72f1decc5805894313b40f370a7c75597e37f0211027944
BLAKE2b-256 checksum
How to use checksums
f2650971bca901c5d0f7cc2345790b28a95646780475c4d425003df1df12f951
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.0-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl

Download URL cryptography-37.0.0-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
0234bdb18620ed16bf186f0591aea0bbc321ecaf59c859d5f5cbe7b646d8377e
BLAKE2b-256 checksum
How to use checksums
1079bcb5c91364c88acfaa6951e1687ed75038bd97ad8c6eada4b02e06336404
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.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cryptography-37.0.0-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
8921428ca6403d7eb52ee0e728e8b02601060a5791f6d64c8a3a12b5722064af
BLAKE2b-256 checksum
How to use checksums
72499e545aef7d9fa98169949a0cda33f0e2e446ba5f1009f80882f2ba2d194a
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.0-pp39-pypy39_pp73-macosx_10_10_x86_64.whl

Download URL cryptography-37.0.0-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
5c2517a2c58213ee62b36ee9ece4a710179ddb07db90e31d7619e7ea472c9dc3
BLAKE2b-256 checksum
How to use checksums
fb5025c753521acc4194b44846b57b0d023671dcf967edd76da341968d0d1fa0
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.0-pp38-pypy38_pp73-win_amd64.whl

Download URL cryptography-37.0.0-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
eee79c6c16949ed817c8cf288e6e124c4b8996e3312d9e7884c71cf9bdda212e
BLAKE2b-256 checksum
How to use checksums
af19d3d9d46c35b0b19cbb2e1b6e4083dbbdb5275c818e15a86b40e20d82f4c0
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.0-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl

Download URL cryptography-37.0.0-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
e86734f28656f6fd5993ab32bd2d2680c3b8341d6f875faf5212bc78715db2a4
BLAKE2b-256 checksum
How to use checksums
791b8da9f0f77073a02fa89087eb7f0246b6a61b346cc3745534d351f4822521
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.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cryptography-37.0.0-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
4c52cb32ea0b9798234823d37c93cab8004c574b2d224f048cd5829d0639387b
BLAKE2b-256 checksum
How to use checksums
b633081b4b5e2bb278cd1aff1aabc2081b91e4f20def10c109971af6b1cb2ded
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.0-pp38-pypy38_pp73-macosx_10_10_x86_64.whl

Download URL cryptography-37.0.0-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
1af4f31870ef2180aba1c04f6d957461a570c8cabcc4b5ac7fabf2b4a0364ea0
BLAKE2b-256 checksum
How to use checksums
1b3df4f7764ebc4c06945cd4b277feaa78dbc340376f80b6392834c5a1c68b58
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.0-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl

Download URL cryptography-37.0.0-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
d119feb387ce2df9bfb92e5785df9094325cfa974e2e6aa08c8e4a8b56786afe
BLAKE2b-256 checksum
How to use checksums
2bd289fef19695bf32a06a6323beb7f442ecbab2c2ef8c084bd721d38f8cbb84
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.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cryptography-37.0.0-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
bf893131cd79dc8eaf4940b3aa2f4a68eba050471f5deacfaedea6aab04f574f
BLAKE2b-256 checksum
How to use checksums
f08dba03c60c726eb14de4c0b516c02a3830f2b97fd31f3ec365ac19f6d59049
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.0-cp36-abi3-win_amd64.whl

Download URL cryptography-37.0.0-cp36-abi3-win_amd64.whl
Size 2.4 MB
Tags CPython 3.6 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
710b9041fb97cc576e288b5f96583578ed352dd60608a402045405c388522b94
BLAKE2b-256 checksum
How to use checksums
6d6aa156081235bc399302344669f66369018665431e6ab93f4ab0a43fd6eaae
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.0-cp36-abi3-win32.whl

Download URL cryptography-37.0.0-cp36-abi3-win32.whl
Size 2.1 MB
Tags CPython 3.6 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
2d3d8a69d262ba27923466194bef637150aef286b11b160e087992206ac32f0c
BLAKE2b-256 checksum
How to use checksums
7675a00fea8edc2bc717fe964ebab954edceabea5e9946fab94d3c594b4ff6a4
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.0-cp36-abi3-musllinux_1_1_x86_64.whl

Download URL cryptography-37.0.0-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
2dfd682771c04c7e85a4b4ea6aa1682a3fd6f4d9845468fa6ba512b80a560a8d
BLAKE2b-256 checksum
How to use checksums
45223384da4dacdd6d761da9229821155a9fed27d3f5f2e50daaae02f3a0853c
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.0-cp36-abi3-musllinux_1_1_aarch64.whl

Download URL cryptography-37.0.0-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
183d6a540659c6a729c08971f09f3fb1044c89dd5af9d6f18da824a071f5445d
BLAKE2b-256 checksum
How to use checksums
137cf7a837dfd09547a186347f8999e93394bc972e7fe2274c53bf972bbfa1ab
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.0-cp36-abi3-manylinux_2_24_x86_64.whl

Download URL cryptography-37.0.0-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
bc54780dd8f7236874ac29fc155c5cf811f7d910e5f0575932a38bdaac3b5146
BLAKE2b-256 checksum
How to use checksums
fb12ed7aed6d59dbb3886fd14d3423ec9730f6a68e9d1271160732b1d9738046
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.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cryptography-37.0.0-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
57273f69b334c6d30f4d27abc7fb9c919ef4c6193af64420572808302bb45768
BLAKE2b-256 checksum
How to use checksums
b555621a5a66e78e981b1bddd8cf9ca072e8640b462b5e975266734c1aa81a28
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.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL cryptography-37.0.0-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
d426093df7f00de859bad45d6a09fdab9b8e4c6e46ea897dd0a302b94c7f6871
BLAKE2b-256 checksum
How to use checksums
0ff09f9caf0fec45ca2d5fe1abe2b06d631e0305887ef2714df5c4a8875238ca
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.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl

Download URL cryptography-37.0.0-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
db1b9516e3072e0342287e06779bec84118bd780f794c8c07bd5da142a526103
BLAKE2b-256 checksum
How to use checksums
1a501b5953c4509fdd2511c81a21f2ab15b3b6ce0e6e38f4f3e63a98a8600554
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.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL cryptography-37.0.0-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
ebdc9c4b3577bb76b0defebe4ef8b866da5228a1c53fbbf394b7677fe292fee9
BLAKE2b-256 checksum
How to use checksums
f8c03faaed4df2420c6c77536286a19fe778d2d3c4848200d23c8a1e33776d65
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.0-cp36-abi3-macosx_10_10_x86_64.whl

Download URL cryptography-37.0.0-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
d886b2c9f8d1ab0916673bc3c89dd04fc6e6591861872c9f08402b0ab2843b82
BLAKE2b-256 checksum
How to use checksums
c5d2659f500114731848c6427da3e26d247b0e517ad1893fde6f7bd65e94e940
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.0-cp36-abi3-macosx_10_10_universal2.whl

Download URL cryptography-37.0.0-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
d97479d943d549d4a78f044b0620a7d349191ed40933ffabff1cc5875e20682c
BLAKE2b-256 checksum
How to use checksums
9e646269c501b7e9ee30df6b4da22dae29c4725eab6a52371c4463154c9e216c
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.0 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