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

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.1
File Size Uploaded
cryptography-37.0.1.tar.gz 585.2 kB Details

Built distributions (wheels)

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

Download URL cryptography-37.0.1.tar.gz
Size 585.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d610d0ee14dd9109006215c7c0de15eee91230b70a9bce2263461cf7c3720b83
BLAKE2b-256 checksum
How to use checksums
3d5faddb8b91fd356792d28e59a8275fec833323cb28604fb3a497c35d7cf0a3
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.1-pp39-pypy39_pp73-win_amd64.whl

Download URL cryptography-37.0.1-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
315af6268de72bcfa0bb3401350ce7d921f216e6b60de12a363dad128d9d459f
BLAKE2b-256 checksum
How to use checksums
a1843166942f587bd5d5b1034a1bad9d24dfe271391f54419642aebe83e62714
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.1-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl

Download URL cryptography-37.0.1-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
125702572be12bcd318e3a14e9e70acd4be69a43664a75f0397e8650fe3c6cc3
BLAKE2b-256 checksum
How to use checksums
6e93c76c0ac0e84bb0edb0823f23c6b9c075c126ef3664315f7489e692833467
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.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cryptography-37.0.1-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
f095988548ec5095e3750cdb30e6962273d239b1998ba1aac66c0d5bee7111c1
BLAKE2b-256 checksum
How to use checksums
17c57d8156e716307b6d0976f3ba375b099e808d3ec9db9c19edf4db7585f3b6
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.1-pp39-pypy39_pp73-macosx_10_10_x86_64.whl

Download URL cryptography-37.0.1-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
b1ee5c82cf03b30f6ae4e32d2bcb1e167ef74d6071cbb77c2af30f101d0b360b
BLAKE2b-256 checksum
How to use checksums
c3e116f27f1091629fbb6713792488f4c706c4174d24f6c8b5c9ce5324e1acfc
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.1-pp38-pypy38_pp73-win_amd64.whl

Download URL cryptography-37.0.1-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
58021d6e9b1d88b1105269d0da5e60e778b37dfc0e824efc71343dd003726831
BLAKE2b-256 checksum
How to use checksums
4265db9dca2b30dedea265eaec18efc7e830b451a4b0d18c928ace205490ca15
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.1-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl

Download URL cryptography-37.0.1-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
930b829e8a2abaf43a19f38277ae3c5e1ffcf547b936a927d2587769ae52c296
BLAKE2b-256 checksum
How to use checksums
7cf9a5aa99a06cdf5890c337a2eefe2fb812e57727b496ee650a6b7d660c91bb
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.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cryptography-37.0.1-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
7ceae26f876aabe193b13a0c36d1bb8e3e7e608d17351861b437bd882f617e9f
BLAKE2b-256 checksum
How to use checksums
2160d31b37b43f736cc6004a5695bcecf74b8a8d9a7e4aafc5d2ae8c73d2bf3b
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.1-pp38-pypy38_pp73-macosx_10_10_x86_64.whl

Download URL cryptography-37.0.1-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
618391152147a1221c87b1b0b7f792cafcfd4b5a685c5c72eeea2ddd29aeceff
BLAKE2b-256 checksum
How to use checksums
cd9433a589d6cbef93eded9db3840bd45709c4cda31647a0c03c377af9fee38d
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.1-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl

Download URL cryptography-37.0.1-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
c4a58eeafbd7409054be41a377e726a7904a17c26f45abf18125d21b1215b08b
BLAKE2b-256 checksum
How to use checksums
e8d593b4c60421dbfe18d1393f4385b3e4fff5fd61d99e1a094bbcbbf97a2781
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.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cryptography-37.0.1-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
cce90609e01e1b192fae9e13665058ab46b2ea53a3c05a3ea74a3eb8c3af8857
BLAKE2b-256 checksum
How to use checksums
57442cdc3e3e7430f8a51652fe96e690e12bf18b631706ba2b1460204997572f
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.1-cp36-abi3-win_amd64.whl

Download URL cryptography-37.0.1-cp36-abi3-win_amd64.whl
Size 2.4 MB
Tags CPython 3.6 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
a18ff4bfa9d64914a84d7b06c46eb86e0cc03113470b3c111255aceb6dcaf81d
BLAKE2b-256 checksum
How to use checksums
f281c5acd0705aa5f7204ad9e8012cb148d82c0a1a7dca212f84f63c9521053a
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.1-cp36-abi3-win32.whl

Download URL cryptography-37.0.1-cp36-abi3-win32.whl
Size 2.1 MB
Tags CPython 3.6 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
e69a0e36e62279120e648e787b76d79b41e0f9e86c1c636a4f38d415595c722e
BLAKE2b-256 checksum
How to use checksums
740ae2a3b032a91417c5c02bf47291026166ea95484de7c34b0c967a600b460e
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.1-cp36-abi3-musllinux_1_1_x86_64.whl

Download URL cryptography-37.0.1-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
1858eff6246bb8bbc080eee78f3dd1528739e3f416cba5f9914e8631b8df9871
BLAKE2b-256 checksum
How to use checksums
e2fb8fc374289662aefb35cf1b55c689bb00dc46bb8a78dafbc9a4788c3505c4
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.1-cp36-abi3-musllinux_1_1_aarch64.whl

Download URL cryptography-37.0.1-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
451aaff8b8adf2dd0597cbb1fdcfc8a7d580f33f843b7cce75307a7f20112dd8
BLAKE2b-256 checksum
How to use checksums
e89ee269484806b6df2b1125242444782fe24a52574bbbe94537b0816f4dff14
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.1-cp36-abi3-manylinux_2_24_x86_64.whl

Download URL cryptography-37.0.1-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
ae1cd29fbe6b716855454e44f4bf743465152e15d2d317303fe3b58ee9e5af7a
BLAKE2b-256 checksum
How to use checksums
c99f17f5fd3b6e2ef754c50cc3fcf868e716e03083bb1e9fcf942b16279b07b9
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.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cryptography-37.0.1-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
6d4daf890e674d191757d8d7d60dc3a29c58c72c7a76a05f1c0a326013f47e8b
BLAKE2b-256 checksum
How to use checksums
8dc0e637189d6cc8ee12f3212ffffd016817170721c693e33513eb8ef87f4f55
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.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL cryptography-37.0.1-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
bf585476fcbcd37bed08072e8e2db3954ce1bfc68087a2dc9c19cfe0b90979ca
BLAKE2b-256 checksum
How to use checksums
14bedc4f98c147d88aaff86160a81a9c0d6712f85c32fd8d531a2b80f4ed3eb1
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.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl

Download URL cryptography-37.0.1-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
06bfafa6e53ccbfb7a94be4687b211a025ce0625e3f3c60bb15cd048a18f3ed8
BLAKE2b-256 checksum
How to use checksums
f0c2eacf9b6088d2bf4e2bf1859af950ec3be3f51d0dde084bac52be9bbfe38a
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.1-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL cryptography-37.0.1-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
faf0f5456c059c7b1c29441bdd5e988f0ba75bdc3eea776520d8dcb1e30e1b5c
BLAKE2b-256 checksum
How to use checksums
7df1ad33a790ec61b1471d1bdf40fe8506998ba9244a986fb25144edab873c7e
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.1-cp36-abi3-macosx_10_10_x86_64.whl

Download URL cryptography-37.0.1-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
0db5cf21bd7d092baacb576482b0245102cea2d3cf09f09271ce9f69624ecb6f
BLAKE2b-256 checksum
How to use checksums
d097a78ba2b115927d0910e22552b13bc25dd14bb5e7b18d6fe3f1fd94cd85e4
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.1-cp36-abi3-macosx_10_10_universal2.whl

Download URL cryptography-37.0.1-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
74b55f67f4cf026cb84da7a1b04fc2a1d260193d4ad0ea5e9897c8b74c1e76ac
BLAKE2b-256 checksum
How to use checksums
fe647244091a98a5c6e2737d50904f611b7a0edd194017e841bc0a89d16f6cc3
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.1 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