Skip to main content
Latest Version Latest Docs https://github.com/pyca/cryptography/workflows/CI/badge.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.7+ and PyPy3 7.3.10+.

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
b'...'
>>> f.decrypt(token)
b'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 41.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 41.0.1
File Size Uploaded
cryptography-41.0.1.tar.gz 629.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for cryptography 41.0.1
File
cryptography-41.0.1-pp39-pypy39_pp73-win_amd64.whl PyPy 3.9 PyPy 3.9 7.3 Windows x86-64 Details
cryptography-41.0.1-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl PyPy 3.9 PyPy 3.9 7.3 Linux glibc 2.28+ x86-64 Details
cryptography-41.0.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl PyPy 3.9 PyPy 3.9 7.3 Linux glibc 2.28+ ARM64 Details
cryptography-41.0.1-pp39-pypy39_pp73-macosx_10_12_x86_64.whl PyPy 3.9 PyPy 3.9 7.3 macOS 10.12+ x86-64 Details
cryptography-41.0.1-pp38-pypy38_pp73-win_amd64.whl PyPy 3.8 PyPy 3.8 7.3 Windows x86-64 Details
cryptography-41.0.1-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl PyPy 3.8 PyPy 3.8 7.3 Linux glibc 2.28+ x86-64 Details
cryptography-41.0.1-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl PyPy 3.8 PyPy 3.8 7.3 Linux glibc 2.28+ ARM64 Details
cryptography-41.0.1-pp38-pypy38_pp73-macosx_10_12_x86_64.whl PyPy 3.8 PyPy 3.8 7.3 macOS 10.12+ x86-64 Details
cryptography-41.0.1-cp37-abi3-win_amd64.whl CPython 3.7 abi3 Windows x86-64 Details
cryptography-41.0.1-cp37-abi3-win32.whl CPython 3.7 abi3 Windows x86-32 Details
cryptography-41.0.1-cp37-abi3-musllinux_1_1_x86_64.whl CPython 3.7 abi3 Linux musl 1.1+ x86-64 Details
cryptography-41.0.1-cp37-abi3-musllinux_1_1_aarch64.whl CPython 3.7 abi3 Linux musl 1.1+ ARM64 Details
cryptography-41.0.1-cp37-abi3-manylinux_2_28_x86_64.whl CPython 3.7 abi3 Linux glibc 2.28+ x86-64 Details
cryptography-41.0.1-cp37-abi3-manylinux_2_28_aarch64.whl CPython 3.7 abi3 Linux glibc 2.28+ ARM64 Details
cryptography-41.0.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 abi3 Linux glibc 2.17+ x86-64 Details
cryptography-41.0.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.7 abi3 Linux glibc 2.17+ ARM64 Details
cryptography-41.0.1-cp37-abi3-macosx_10_12_x86_64.whl CPython 3.7 abi3 macOS 10.12+ x86-64 Details
cryptography-41.0.1-cp37-abi3-macosx_10_12_universal2.whl CPython 3.7 abi3 macOS 10.12+ universal2 (ARM64, x86-64) Details

Total release size: 65.7 MB

Release files / cryptography-41.0.1.tar.gz

Download URL cryptography-41.0.1.tar.gz
Size 629.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d34579085401d3f49762d2f7d6634d6b6c2ae1242202e860f4d26b046e3a1006
BLAKE2b-256 checksum
How to use checksums
198c47f061de65d1571210dc46436c14a0a4c260fd0f3eaf61ce9b9d445ce12f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

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

Download URL cryptography-41.0.1-pp39-pypy39_pp73-win_amd64.whl
Size 2.5 MB
Tags PyPy 3.9 PyPy 3.9 7.3 Windows x86-64
SHA-256 checksum
How to use checksums
8dde71c4169ec5ccc1087bb7521d54251c016f126f922ab2dfe6649170a3b8c5
BLAKE2b-256 checksum
How to use checksums
005e39850ff94df530b24c5600f56769d56da44ede9f2c6ef5f2a204dd6c0881
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / cryptography-41.0.1-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl

Download URL cryptography-41.0.1-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Size 4.2 MB
Tags Linux glibc 2.28+ x86-64 PyPy 3.9 PyPy 3.9 7.3
SHA-256 checksum
How to use checksums
eb8163f5e549a22888c18b0d53d6bb62a20510060a22fd5a995ec8a05268df8a
BLAKE2b-256 checksum
How to use checksums
9212f33c6911b70c59b92af870b2e4a8c11f8293a12a4d1318be96082e09318f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / cryptography-41.0.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl

Download URL cryptography-41.0.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl
Size 4.0 MB
Tags Linux glibc 2.28+ ARM64 PyPy 3.9 PyPy 3.9 7.3
SHA-256 checksum
How to use checksums
7bfc55a5eae8b86a287747053140ba221afc65eb06207bedf6e019b8934b477c
BLAKE2b-256 checksum
How to use checksums
060471b679d76336fc5fd82041e492e4c372c6b605dba15047e3184654aa5fc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / cryptography-41.0.1-pp39-pypy39_pp73-macosx_10_12_x86_64.whl

Download URL cryptography-41.0.1-pp39-pypy39_pp73-macosx_10_12_x86_64.whl
Size 2.7 MB
Tags PyPy 3.9 PyPy 3.9 7.3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
5f0ff6e18d13a3de56f609dd1fd11470918f770c6bd5d00d632076c727d35485
BLAKE2b-256 checksum
How to use checksums
2c745ccc293b24678010611eb43185663064a9c195cdebfbcef8fc323f71eb41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

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

Download URL cryptography-41.0.1-pp38-pypy38_pp73-win_amd64.whl
Size 2.5 MB
Tags PyPy 3.8 PyPy 3.8 7.3 Windows x86-64
SHA-256 checksum
How to use checksums
cb33ccf15e89f7ed89b235cff9d49e2e62c6c981a6061c9c8bb47ed7951190bc
BLAKE2b-256 checksum
How to use checksums
a609ac646c5f3ae56a2a895014ede63148a6e2be2689d7bfbdbaab02ed9fe684
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / cryptography-41.0.1-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl

Download URL cryptography-41.0.1-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Size 4.2 MB
Tags Linux glibc 2.28+ x86-64 PyPy 3.8 PyPy 3.8 7.3
SHA-256 checksum
How to use checksums
1a8e6c2de6fbbcc5e14fd27fb24414507cb3333198ea9ab1258d916f00bc3039
BLAKE2b-256 checksum
How to use checksums
fcdbbccda95237c4a823164d2f243aac25036f8d81c1083a49e85457d185dd31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / cryptography-41.0.1-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl

Download URL cryptography-41.0.1-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl
Size 4.0 MB
Tags Linux glibc 2.28+ ARM64 PyPy 3.8 PyPy 3.8 7.3
SHA-256 checksum
How to use checksums
5d092fdfedaec4cbbffbf98cddc915ba145313a6fdaab83c6e67f4e6c218e6f3
BLAKE2b-256 checksum
How to use checksums
2d181c1098a3faeb21e73d83acccaa01f25bcfe6218f59b8dfc59bc31505cbe0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / cryptography-41.0.1-pp38-pypy38_pp73-macosx_10_12_x86_64.whl

Download URL cryptography-41.0.1-pp38-pypy38_pp73-macosx_10_12_x86_64.whl
Size 2.7 MB
Tags PyPy 3.8 PyPy 3.8 7.3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
9a6c7a3c87d595608a39980ebaa04d5a37f94024c9f24eb7d10262b92f739ddb
BLAKE2b-256 checksum
How to use checksums
c9f194c71c6fd96ae2ec799c8e5d7a953944a7c7b2ddd8ba941ddc89443645c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / cryptography-41.0.1-cp37-abi3-win_amd64.whl

Download URL cryptography-41.0.1-cp37-abi3-win_amd64.whl
Size 2.6 MB
Tags CPython 3.7 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
1fee5aacc7367487b4e22484d3c7e547992ed726d14864ee33c0176ae43b0d7c
BLAKE2b-256 checksum
How to use checksums
6a357d7ac1ecd59c88f760584d3b9606ebfd48c5442377d67a8d3081226be424
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / cryptography-41.0.1-cp37-abi3-win32.whl

Download URL cryptography-41.0.1-cp37-abi3-win32.whl
Size 2.2 MB
Tags CPython 3.7 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
8f4ab7021127a9b4323537300a2acfb450124b2def3756f64dc3a3d2160ee4b5
BLAKE2b-256 checksum
How to use checksums
e51d184779dc4c1e9686bc87628c0bf1b1c846885c6c9ff79c954fda0a4b2498
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / cryptography-41.0.1-cp37-abi3-musllinux_1_1_x86_64.whl

Download URL cryptography-41.0.1-cp37-abi3-musllinux_1_1_x86_64.whl
Size 4.4 MB
Tags CPython 3.7 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
b4ceb5324b998ce2003bc17d519080b4ec8d5b7b70794cbd2836101406a9be31
BLAKE2b-256 checksum
How to use checksums
524ca5b0cabca7033510d490b5a9fddce62f87a0420ddc4d96b1ab4435f10f75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / cryptography-41.0.1-cp37-abi3-musllinux_1_1_aarch64.whl

Download URL cryptography-41.0.1-cp37-abi3-musllinux_1_1_aarch64.whl
Size 4.2 MB
Tags CPython 3.7 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
059e348f9a3c1950937e1b5d7ba1f8e968508ab181e75fc32b879452f08356db
BLAKE2b-256 checksum
How to use checksums
ef78d391ec7a08d4adf8a93d0fd9fa9fd468493ef50b6213c28deadf5322379d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / cryptography-41.0.1-cp37-abi3-manylinux_2_28_x86_64.whl

Download URL cryptography-41.0.1-cp37-abi3-manylinux_2_28_x86_64.whl
Size 4.3 MB
Tags CPython 3.7 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
948224d76c4b6457349d47c0c98657557f429b4e93057cf5a2f71d603e2fc3a3
BLAKE2b-256 checksum
How to use checksums
493580c346e1a9509210defa857a05e9b7931093719aab25665d4d54f9b3ba83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / cryptography-41.0.1-cp37-abi3-manylinux_2_28_aarch64.whl

Download URL cryptography-41.0.1-cp37-abi3-manylinux_2_28_aarch64.whl
Size 4.1 MB
Tags CPython 3.7 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
d198820aba55660b4d74f7b5fd1f17db3aa5eb3e6893b0a41b75e84e4f9e0e4b
BLAKE2b-256 checksum
How to use checksums
b7883e6c5eda9ab474fa9b0cf84e6119385aaefbe5c9700a5eacd6e0a9f415bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / cryptography-41.0.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cryptography-41.0.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.3 MB
Tags CPython 3.7 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
b46e37db3cc267b4dea1f56da7346c9727e1209aa98487179ee8ebed09d21e43
BLAKE2b-256 checksum
How to use checksums
32862037a52402f8d03f7a2be172ffb4bbac0250c54e51d50136c0c6c4e0cf70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / cryptography-41.0.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL cryptography-41.0.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 4.1 MB
Tags CPython 3.7 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
7fa01527046ca5facdf973eef2535a27fec4cb651e4daec4d043ef63f6ecd4ca
BLAKE2b-256 checksum
How to use checksums
12828d41bda1fc6e5a51ae4f47abc910e40c0207233bf44f2bcd794272db2c69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / cryptography-41.0.1-cp37-abi3-macosx_10_12_x86_64.whl

Download URL cryptography-41.0.1-cp37-abi3-macosx_10_12_x86_64.whl
Size 2.8 MB
Tags CPython 3.7 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
1a5472d40c8f8e91ff7a3d8ac6dfa363d8e3138b961529c996f3e2df0c7a411a
BLAKE2b-256 checksum
How to use checksums
eb096b2c7f6dcf756f318cc232576c2198c114758510317ddade9490e568362a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / cryptography-41.0.1-cp37-abi3-macosx_10_12_universal2.whl

Download URL cryptography-41.0.1-cp37-abi3-macosx_10_12_universal2.whl
Size 5.3 MB
Tags CPython 3.7 abi3 macOS 10.12+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
f73bff05db2a3e5974a6fd248af2566134d8981fd7ab012e5dd4ddb1d9a70699
BLAKE2b-256 checksum
How to use checksums
d880e32f30266381f6ca05ee4aa92ce5f305aa1acbef4117a9a8d94d9b60bb67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

41.0.1 This release

19 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