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.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 41.0.0
File Size Uploaded
cryptography-41.0.0.tar.gz 628.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for cryptography 41.0.0
File
cryptography-41.0.0-pp39-pypy39_pp73-win_amd64.whl PyPy 3.9 PyPy 3.9 7.3 Windows x86-64 Details
cryptography-41.0.0-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.0-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.0-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.0-pp38-pypy38_pp73-win_amd64.whl PyPy 3.8 PyPy 3.8 7.3 Windows x86-64 Details
cryptography-41.0.0-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.0-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.0-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.0-cp37-abi3-win_amd64.whl CPython 3.7 abi3 Windows x86-64 Details
cryptography-41.0.0-cp37-abi3-win32.whl CPython 3.7 abi3 Windows x86-32 Details
cryptography-41.0.0-cp37-abi3-musllinux_1_1_x86_64.whl CPython 3.7 abi3 Linux musl 1.1+ x86-64 Details
cryptography-41.0.0-cp37-abi3-musllinux_1_1_aarch64.whl CPython 3.7 abi3 Linux musl 1.1+ ARM64 Details
cryptography-41.0.0-cp37-abi3-manylinux_2_28_x86_64.whl CPython 3.7 abi3 Linux glibc 2.28+ x86-64 Details
cryptography-41.0.0-cp37-abi3-manylinux_2_28_aarch64.whl CPython 3.7 abi3 Linux glibc 2.28+ ARM64 Details
cryptography-41.0.0-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.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.7 abi3 Linux glibc 2.17+ ARM64 Details
cryptography-41.0.0-cp37-abi3-macosx_10_12_x86_64.whl CPython 3.7 abi3 macOS 10.12+ x86-64 Details
cryptography-41.0.0-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.0.tar.gz

Download URL cryptography-41.0.0.tar.gz
Size 628.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6b71f64beeea341c9b4f963b48ee3b62d62d57ba93eb120e1196b31dc1025e78
BLAKE2b-256 checksum
How to use checksums
bf923301a5d4fb734290a8bca5a9aad61ea61327ed53cb19be110d4f3548df76
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.0-pp39-pypy39_pp73-win_amd64.whl

Download URL cryptography-41.0.0-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
0ddaee209d1cf1f180f1efa338a68c4621154de0afaef92b89486f5f96047c55
BLAKE2b-256 checksum
How to use checksums
38d9a8d08aada88bcb8ea4f1a0a34e3d9cf3ce0faea3df69e54c232e88ab8b32
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.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl

Download URL cryptography-41.0.0-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
14754bcdae909d66ff24b7b5f166d69340ccc6cb15731670435efd5719294895
BLAKE2b-256 checksum
How to use checksums
bfd5d68700d996a35c7041c5183aab35572064da0b7ba1dfb7526269a7faeeb8
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.0-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl

Download URL cryptography-41.0.0-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
a4fc68d1c5b951cfb72dfd54702afdbbf0fb7acdc9b7dc4301bbf2225a27714d
BLAKE2b-256 checksum
How to use checksums
70970c178505eb329f0c338888ab3fd058101cb5054fc5cf4b9e2edce3e340f9
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.0-pp39-pypy39_pp73-macosx_10_12_x86_64.whl

Download URL cryptography-41.0.0-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
bf8fc66012ca857d62f6a347007e166ed59c0bc150cefa49f28376ebe7d992a2
BLAKE2b-256 checksum
How to use checksums
3150db80a57bbaa2cd29162449ac7dd5850a8f5e7c547c2842fd6458e2b62c04
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.0-pp38-pypy38_pp73-win_amd64.whl

Download URL cryptography-41.0.0-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
5c1f7293c31ebc72163a9a0df246f890d65f66b4a40d9ec80081969ba8c78cc9
BLAKE2b-256 checksum
How to use checksums
f4e2179443f7fc30627407ffb0a2d17f999e7c54b6d726ef6a82411282616411
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.0-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl

Download URL cryptography-41.0.0-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
f5d0bf9b252f30a31664b6f64432b4730bb7038339bd18b1fafe129cfc2be9be
BLAKE2b-256 checksum
How to use checksums
93f7730cc2ea1677300f59e7978b6966a4de32fdc81b9e7a2adf1ae669d8cf43
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.0-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl

Download URL cryptography-41.0.0-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
b846d59a8d5a9ba87e2c3d757ca019fa576793e8758174d3868aecb88d6fc8eb
BLAKE2b-256 checksum
How to use checksums
feb8d0c220de2854ff65071da904ae5338bbbfa04c23a0f8365dd5641f349480
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.0-pp38-pypy38_pp73-macosx_10_12_x86_64.whl

Download URL cryptography-41.0.0-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
88ff107f211ea696455ea8d911389f6d2b276aabf3231bf72c8853d22db755c5
BLAKE2b-256 checksum
How to use checksums
b53ae14db0de25b4b5633975f09e3ba5c39d8b8358935bbf29ad3ab9ffca7155
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.0-cp37-abi3-win_amd64.whl

Download URL cryptography-41.0.0-cp37-abi3-win_amd64.whl
Size 2.6 MB
Tags CPython 3.7 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
344c6de9f8bda3c425b3a41b319522ba3208551b70c2ae00099c205f0d9fd3be
BLAKE2b-256 checksum
How to use checksums
ab40bb01066d306329d3f0e440c5e9863f08d29e783c827ce74a823889d56977
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.0-cp37-abi3-win32.whl

Download URL cryptography-41.0.0-cp37-abi3-win32.whl
Size 2.2 MB
Tags CPython 3.7 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
34d405ea69a8b34566ba3dfb0521379b210ea5d560fafedf9f800a9a94a41928
BLAKE2b-256 checksum
How to use checksums
9b001cb49039236a71b9c8511ec3ba7d5153c22b022d67518499f34dcafc8c2e
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.0-cp37-abi3-musllinux_1_1_x86_64.whl

Download URL cryptography-41.0.0-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
7d92f0248d38faa411d17f4107fc0bce0c42cae0b0ba5415505df72d751bf62d
BLAKE2b-256 checksum
How to use checksums
67da096e2074dee14fa5793ed60a39efcab0d9851a67859bf468b1862d53e35a
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.0-cp37-abi3-musllinux_1_1_aarch64.whl

Download URL cryptography-41.0.0-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
b7f2f5c525a642cecad24ee8670443ba27ac1fab81bba4cc24c7b6b41f2d0c75
BLAKE2b-256 checksum
How to use checksums
f7a383dc953152063db9d7a2d3349d913576fc672b71523581ddb0faa6af22bc
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.0-cp37-abi3-manylinux_2_28_x86_64.whl

Download URL cryptography-41.0.0-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
9f65e842cb02550fac96536edb1d17f24c0a338fd84eaf582be25926e993dde4
BLAKE2b-256 checksum
How to use checksums
92b622b9b21fecfb03a90ce9393053f054b2742b00e704c20a595cf4c15f975e
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.0-cp37-abi3-manylinux_2_28_aarch64.whl

Download URL cryptography-41.0.0-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
4ab14d567f7bbe7f1cdff1c53d5324ed4d3fc8bd17c481b395db224fb405c237
BLAKE2b-256 checksum
How to use checksums
a390182588b47bbe52438193d93a9901d0dddfe25b7abdc25196473f896e63e3
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.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cryptography-41.0.0-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
84a165379cb9d411d58ed739e4af3396e544eac190805a54ba2e0322feb55c46
BLAKE2b-256 checksum
How to use checksums
7694e5b948856427b66575e194764e54bb43669e7764396868d015f1e40b5e3a
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.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL cryptography-41.0.0-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
3680248309d340fda9611498a5319b0193a8dbdb73586a1acf8109d06f25b92d
BLAKE2b-256 checksum
How to use checksums
5b971096bb43ff0f9f40a6a04fc26fe209b2991805257a2c2e32f1076201f2dd
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.0-cp37-abi3-macosx_10_12_x86_64.whl

Download URL cryptography-41.0.0-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
8362565b3835ceacf4dc8f3b56471a2289cf51ac80946f9087e66dc283a810e0
BLAKE2b-256 checksum
How to use checksums
4e60e02e88f973fcf2366008d1e0b62e9ef6e432e00d6edae0e47371fe624ccb
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.0-cp37-abi3-macosx_10_12_universal2.whl

Download URL cryptography-41.0.0-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
3c5ef25d060c80d6d9f7f9892e1d41bb1c79b78ce74805b8cb4aa373cb7d5ec8
BLAKE2b-256 checksum
How to use checksums
e43106d6c33f93165c0fc80008fdeab4543b1ce7ceebcc2cf66da70e5e1daaad
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.0 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