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

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 2.7, Python 3.5+, and PyPy 5.4+.

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 #cryptography-dev on Freenode to ask questions or get involved.

Security

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

Metadata

Release files for cryptography 3.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 3.0
File Size Uploaded
cryptography-3.0.tar.gz 534.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for cryptography 3.0
File
cryptography-3.0-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
cryptography-3.0-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details
cryptography-3.0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
cryptography-3.0-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details
cryptography-3.0-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
cryptography-3.0-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
cryptography-3.0-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
cryptography-3.0-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details
cryptography-3.0-cp35-abi3-manylinux2010_x86_64.whl CPython 3.5 abi3 Linux glibc 2.12+ x86-64 Details
cryptography-3.0-cp35-abi3-manylinux1_x86_64.whl CPython 3.5 abi3 Linux glibc 2.5+ x86-64 Details
cryptography-3.0-cp35-abi3-macosx_10_10_x86_64.whl CPython 3.5 abi3 macOS 10.10+ x86-64 Details
cryptography-3.0-cp27-cp27mu-manylinux2010_x86_64.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.12+ x86-64 Details
cryptography-3.0-cp27-cp27mu-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64 Details
cryptography-3.0-cp27-cp27m-win_amd64.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-64 Details
cryptography-3.0-cp27-cp27m-win32.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-32 Details
cryptography-3.0-cp27-cp27m-manylinux2010_x86_64.whl CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.12+ x86-64 Details
cryptography-3.0-cp27-cp27m-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64 Details
cryptography-3.0-cp27-cp27m-macosx_10_10_x86_64.whl CPython 2.7 CPython 2.7 pymalloc macOS 10.10+ x86-64 Details

Total release size: 34.2 MB

Release files / cryptography-3.0.tar.gz

Download URL cryptography-3.0.tar.gz
Size 534.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8e924dbc025206e97756e8903039662aa58aa9ba357d8e1d8fc29e3092322053
BLAKE2b-256 checksum
How to use checksums
bfac552fc8729d90393845cc3a2062facf4a89dcbe206fa78771d60ddaae7554
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp38-cp38-win_amd64.whl

Download URL cryptography-3.0-cp38-cp38-win_amd64.whl
Size 1.5 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
bea0b0468f89cdea625bb3f692cd7a4222d80a6bdafd6fb923963f2b9da0e15f
BLAKE2b-256 checksum
How to use checksums
00fced8cf3e3d3817707c11da167a3478f9cb834afed5e8af450516752bb7df8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp38-cp38-win32.whl

Download URL cryptography-3.0-cp38-cp38-win32.whl
Size 1.3 MB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
8713ddb888119b0d2a1462357d5946b8911be01ddbf31451e1d07eaa5077a261
BLAKE2b-256 checksum
How to use checksums
fe7e4e0741a614a3c557b5d1c38432dc65bb03f8940d7ca5110487538d2d60c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp37-cp37m-win_amd64.whl

Download URL cryptography-3.0-cp37-cp37m-win_amd64.whl
Size 1.5 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
4b9303507254ccb1181d1803a2080a798910ba89b1a3c9f53639885c90f7a756
BLAKE2b-256 checksum
How to use checksums
3351a13191800bb4dd5026629a4450031ef7afcb4d44d314145a3b546ddf8eb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp37-cp37m-win32.whl

Download URL cryptography-3.0-cp37-cp37m-win32.whl
Size 1.3 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
8ecef21ac982aa78309bb6f092d1677812927e8b5ef204a10c326fc29f1367e2
BLAKE2b-256 checksum
How to use checksums
9dee19a85d2b714b379a18dbf62127117d0d66e496bfd7459462501a1ed0d72c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp36-cp36m-win_amd64.whl

Download URL cryptography-3.0-cp36-cp36m-win_amd64.whl
Size 1.5 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
45741f5499150593178fc98d2c1a9c6722df88b99c821ad6ae298eff0ba1ae71
BLAKE2b-256 checksum
How to use checksums
2143e500a47cec3d812d74d115797f7e6dc556aa07ee73ee036ca7e841b8935f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp36-cp36m-win32.whl

Download URL cryptography-3.0-cp36-cp36m-win32.whl
Size 1.3 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
4d355f2aee4a29063c10164b032d9fa8a82e2c30768737a2fd56d256146ad559
BLAKE2b-256 checksum
How to use checksums
cbb7d3c65b0d173fec678e8fd49ed3b392a8ad84339c7208f118e915ba47dc4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp35-cp35m-win_amd64.whl

Download URL cryptography-3.0-cp35-cp35m-win_amd64.whl
Size 1.5 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
384d7c681b1ab904fff3400a6909261cae1d0939cc483a68bdedab282fb89a07
BLAKE2b-256 checksum
How to use checksums
02664109be9592d797ca63b62e5d0955700acb68c4d5bf3cee289da0448e02c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp35-cp35m-win32.whl

Download URL cryptography-3.0-cp35-cp35m-win32.whl
Size 1.3 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
9367d00e14dee8d02134c6c9524bb4bd39d4c162456343d07191e2a0b5ec8b3b
BLAKE2b-256 checksum
How to use checksums
188eaffd19a89039581f309ef8739a9befac3437c1396c72829f778d7eee5acc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp35-abi3-manylinux2010_x86_64.whl

Download URL cryptography-3.0-cp35-abi3-manylinux2010_x86_64.whl
Size 2.7 MB
Tags CPython 3.5 Linux glibc 2.12+ x86-64 abi3
SHA-256 checksum
How to use checksums
ce82cc06588e5cbc2a7df3c8a9c778f2cb722f56835a23a68b5a7264726bb00c
BLAKE2b-256 checksum
How to use checksums
ba9184a29d6a27fd6dfc21f475704c4d2053d58ed7a4033c2b0ce1b4ca4d03d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp35-abi3-manylinux1_x86_64.whl

Download URL cryptography-3.0-cp35-abi3-manylinux1_x86_64.whl
Size 2.7 MB
Tags CPython 3.5 Linux glibc 2.5+ x86-64 abi3
SHA-256 checksum
How to use checksums
a09fd9c1cca9a46b6ad4bea0a1f86ab1de3c0c932364dbcf9a6c2a5eeb44fa77
BLAKE2b-256 checksum
How to use checksums
26d6e8b087b9ae062d737c67c3bf76e30333bda9295ca17205062e8ed2c872de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp35-abi3-macosx_10_10_x86_64.whl

Download URL cryptography-3.0-cp35-abi3-macosx_10_10_x86_64.whl
Size 1.8 MB
Tags CPython 3.5 abi3 macOS 10.10+ x86-64
SHA-256 checksum
How to use checksums
0cbfed8ea74631fe4de00630f4bb592dad564d57f73150d6f6796a24e76c76cd
BLAKE2b-256 checksum
How to use checksums
8add3b4b1ff1f4ab5aec83b5b0486b9df32fd3c8bf5f540c3bb2bdf403b68d0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp27-cp27mu-manylinux2010_x86_64.whl

Download URL cryptography-3.0-cp27-cp27mu-manylinux2010_x86_64.whl
Size 2.7 MB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
bec7568c6970b865f2bcebbe84d547c52bb2abadf74cefce396ba07571109c67
BLAKE2b-256 checksum
How to use checksums
b8862692315807539c0f6452c58661d268c88d5fb79acf6c13279eb7b87ecd81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp27-cp27mu-manylinux1_x86_64.whl

Download URL cryptography-3.0-cp27-cp27mu-manylinux1_x86_64.whl
Size 2.7 MB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
0c608ff4d4adad9e39b5057de43657515c7da1ccb1807c3a27d4cf31fc923b4b
BLAKE2b-256 checksum
How to use checksums
6658d7ff652d30e8cbabd8946b3116fba73b39a73ea9c63943b3c1bf3cfcf190
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp27-cp27m-win_amd64.whl

Download URL cryptography-3.0-cp27-cp27m-win_amd64.whl
Size 1.5 MB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
8ecf9400d0893836ff41b6f977a33972145a855b6efeb605b49ee273c5e6469f
BLAKE2b-256 checksum
How to use checksums
607c579b37928db3774d13aed3d423adfca4f1b781429508aad368ad623bf8e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp27-cp27m-win32.whl

Download URL cryptography-3.0-cp27-cp27m-win32.whl
Size 1.3 MB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
dea0ba7fe6f9461d244679efa968d215ea1f989b9c1957d7f10c21e5c7c09ad6
BLAKE2b-256 checksum
How to use checksums
2d5ac67fa6333657b0396c3a97cba3ab628cb7063794ba3b056b3215d71853f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp27-cp27m-manylinux2010_x86_64.whl

Download URL cryptography-3.0-cp27-cp27m-manylinux2010_x86_64.whl
Size 2.7 MB
Tags CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
51e40123083d2f946794f9fe4adeeee2922b581fa3602128ce85ff813d85b81f
BLAKE2b-256 checksum
How to use checksums
d08e83bd38a03f3cd5907adc31a42d231de1124bd32327e101a854913c338a60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp27-cp27m-manylinux1_x86_64.whl

Download URL cryptography-3.0-cp27-cp27m-manylinux1_x86_64.whl
Size 2.7 MB
Tags CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
124af7255ffc8e964d9ff26971b3a6153e1a8a220b9a685dc407976ecb27a06a
BLAKE2b-256 checksum
How to use checksums
a752cc9eacbe78ade8bae06c1026916b4e607b3663b5c53da590a28c607f91b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / cryptography-3.0-cp27-cp27m-macosx_10_10_x86_64.whl

Download URL cryptography-3.0-cp27-cp27m-macosx_10_10_x86_64.whl
Size 1.8 MB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.10+ x86-64
SHA-256 checksum
How to use checksums
ab49edd5bea8d8b39a44b3db618e4783ef84c19c8b47286bf05dfdb3efb01c83
BLAKE2b-256 checksum
How to use checksums
b8b95d0dc6fe8ddc339336c4c201c8b9e4dc4de08a0fdabf77798dd2dbffb215
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release history Release notifications | RSS feed

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

This release

3.0 This release

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