Skip to main content
Latest Version Latest Docs https://travis-ci.org/pyca/cryptography.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.4+, and PyPy 5.3+.

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 2.4.2

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

Built distributions (wheels)

Table of built distributions (wheels) for cryptography 2.4.2
File
cryptography-2.4.2-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
cryptography-2.4.2-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details
cryptography-2.4.2-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
cryptography-2.4.2-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
cryptography-2.4.2-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
cryptography-2.4.2-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details
cryptography-2.4.2-cp34-cp34m-win_amd64.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-64 Details
cryptography-2.4.2-cp34-cp34m-win32.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-32 Details
cryptography-2.4.2-cp34-abi3-manylinux1_x86_64.whl CPython 3.4 abi3 Linux glibc 2.5+ x86-64 Details
cryptography-2.4.2-cp34-abi3-manylinux1_i686.whl CPython 3.4 abi3 Linux glibc 2.5+ x86-32 Details
cryptography-2.4.2-cp34-abi3-macosx_10_6_intel.whl CPython 3.4 abi3 macOS 10.6+ Intel (x86-64, i386) Details
cryptography-2.4.2-cp27-cp27mu-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64 Details
cryptography-2.4.2-cp27-cp27mu-manylinux1_i686.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-32 Details
cryptography-2.4.2-cp27-cp27m-win_amd64.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-64 Details
cryptography-2.4.2-cp27-cp27m-win32.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-32 Details
cryptography-2.4.2-cp27-cp27m-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64 Details
cryptography-2.4.2-cp27-cp27m-manylinux1_i686.whl CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-32 Details
cryptography-2.4.2-cp27-cp27m-macosx_10_6_intel.whl CPython 2.7 CPython 2.7 pymalloc macOS 10.6+ Intel (x86-64, i386) Details

Total release size: 27.9 MB

Release files / cryptography-2.4.2.tar.gz

Download URL cryptography-2.4.2.tar.gz
Size 468.6 kB
Tags Source
SHA-256 checksum
How to use checksums
05a6052c6a9f17ff78ba78f8e6eb1d777d25db3b763343a1ae89a7a8670386dd
BLAKE2b-256 checksum
How to use checksums
f339d3904df7c56f8654691c4ae1bdb270c1c9220d6da79bd3b1fbad91afd0e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

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

Download URL cryptography-2.4.2-cp37-cp37m-win_amd64.whl
Size 1.3 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
418e7a5ec02a7056d3a4f0c0e7ea81df374205f25f4720bb0e84189aa5fd2515
BLAKE2b-256 checksum
How to use checksums
c7c72b97b9af3b16ea45aeabd5fe7eb07902c0c24c5d596b68f677c1f50ae55e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

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

Download URL cryptography-2.4.2-cp37-cp37m-win32.whl
Size 1.1 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
1b1f136d74f411f587b07c076149c4436a169dc19532e587460d9ced24adcc13
BLAKE2b-256 checksum
How to use checksums
322cccf93f973f4640796068745dbbc53c90016614e9007ca71f58a3d222bea7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

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

Download URL cryptography-2.4.2-cp36-cp36m-win_amd64.whl
Size 1.3 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
2454ada8209bbde97065453a6ca488884bbb263e623d35ba183821317a58b46f
BLAKE2b-256 checksum
How to use checksums
3ca5ac7f4d9fa22cf6783e2d62cbfdf0b14b937d873a9d129f8d4d95e2184af5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

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

Download URL cryptography-2.4.2-cp36-cp36m-win32.whl
Size 1.1 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
1699f3e916981df32afdd014fb3164db28cdb61c757029f502cb0a8c29b2fdb3
BLAKE2b-256 checksum
How to use checksums
afd79e6442de1aa61d3268e5abd7fb73b130cfc2e42439a7db42248653844593
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

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

Download URL cryptography-2.4.2-cp35-cp35m-win_amd64.whl
Size 1.3 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
da5b5dda4aa0d5e2b758cc8dfc67f8d4212e88ea9caad5f61ba132f948bab859
BLAKE2b-256 checksum
How to use checksums
4c2723ba63e53daa0067f763c42e06c06f93b2d184276c9fc45a0e08b0d530aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

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

Download URL cryptography-2.4.2-cp35-cp35m-win32.whl
Size 1.1 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
6afe324dfe6074822ccd56d80420df750e19ac30a4e56c925746c735cf22ae8b
BLAKE2b-256 checksum
How to use checksums
60781dbbca7cf0f7b4188026d06f865e4bd350cc19db4b83bd8a039606420b06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / cryptography-2.4.2-cp34-cp34m-win_amd64.whl

Download URL cryptography-2.4.2-cp34-cp34m-win_amd64.whl
Size 1.3 MB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
70c2b04e905d3f72e2ba12c58a590817128dfca08949173faa19a42c824efa0b
BLAKE2b-256 checksum
How to use checksums
b6a65140258106bc68d4b2c0205b0316fb009599cbb0f3d3bcfb2191adf05405
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / cryptography-2.4.2-cp34-cp34m-win32.whl

Download URL cryptography-2.4.2-cp34-cp34m-win32.whl
Size 1.1 MB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
471a097076a7c4ab85561d7fa9a1239bd2ae1f9fd0047520f13d8b340bf3210b
BLAKE2b-256 checksum
How to use checksums
526d3d136e3f926ae8e9667f0b6c7b4fdeef9ab953fa1812f5c864560fccd89b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / cryptography-2.4.2-cp34-abi3-manylinux1_x86_64.whl

Download URL cryptography-2.4.2-cp34-abi3-manylinux1_x86_64.whl
Size 2.1 MB
Tags CPython 3.4 Linux glibc 2.5+ x86-64 abi3
SHA-256 checksum
How to use checksums
70596e90398574b77929cd87e1ac6e43edd0e29ba01e1365fed9c26bde295aa5
BLAKE2b-256 checksum
How to use checksums
60c799b33c53cf3f20a97a4c4bfd3ab66dcc93d99da0a97cc9597aa36ae6bb62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / cryptography-2.4.2-cp34-abi3-manylinux1_i686.whl

Download URL cryptography-2.4.2-cp34-abi3-manylinux1_i686.whl
Size 1.9 MB
Tags CPython 3.4 Linux glibc 2.5+ x86-32 abi3
SHA-256 checksum
How to use checksums
8908f1db90be48b060888e9c96a0dee9d842765ce9594ff6a23da61086116bb6
BLAKE2b-256 checksum
How to use checksums
b6bed35ce66c4e150f6f0f74f9a73962afe893ca60ec2e522a206a80d440ad60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / cryptography-2.4.2-cp34-abi3-macosx_10_6_intel.whl

Download URL cryptography-2.4.2-cp34-abi3-macosx_10_6_intel.whl
Size 1.5 MB
Tags CPython 3.4 abi3 macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
21e63dd20f5e5455e8b34179ac43d95b3fb1ffa54d071fd2ed5d67da82cfe6dc
BLAKE2b-256 checksum
How to use checksums
18d57f725ac9ff162c93f67087414961b8256019527093d31e4c1fa9c377170a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

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

Download URL cryptography-2.4.2-cp27-cp27mu-manylinux1_x86_64.whl
Size 2.1 MB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
af12dfc9874ac27ebe57fc28c8df0e8afa11f2a1025566476b0d50cdb8884f70
BLAKE2b-256 checksum
How to use checksums
7fba383b51cc26e3141c689ce988814385c7659f5ba01c4b5f2de38233010b5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / cryptography-2.4.2-cp27-cp27mu-manylinux1_i686.whl

Download URL cryptography-2.4.2-cp27-cp27mu-manylinux1_i686.whl
Size 1.9 MB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
0eb83a24c650a36f68e31a6d0a70f7ad9c358fa2506dc7b683398b92e354a038
BLAKE2b-256 checksum
How to use checksums
f6a9b16600b0cd268337b11ce52acdf3a0503067c1aee8cb9db507e7e21700db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

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

Download URL cryptography-2.4.2-cp27-cp27m-win_amd64.whl
Size 1.3 MB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
3cdc5f7ca057b2214ce4569e01b0f368b3de9d8ee01887557755ccd1c15d9427
BLAKE2b-256 checksum
How to use checksums
1538aefb0ac8f2812d3ec4f2e86cf76e2a785c8776d2372d5ed56326a0d1fc69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

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

Download URL cryptography-2.4.2-cp27-cp27m-win32.whl
Size 1.1 MB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
5ecaf9e7db3ca582c6de6229525d35db8a4e59dc3e8a40a331674ed90e658cbf
BLAKE2b-256 checksum
How to use checksums
f2fe0877f63affd2ad8c3390d21f76342ef5229fd932f9f9e7388feaf705b040
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

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

Download URL cryptography-2.4.2-cp27-cp27m-manylinux1_x86_64.whl
Size 2.1 MB
Tags CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
b4fc04326b2d259ddd59ed8ea20405d2e695486ab4c5e1e49b025c484845206e
BLAKE2b-256 checksum
How to use checksums
1a0693bc0c01c61d7845b45e6751640d1ab83132964bfb3e71187acf94dc7193
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / cryptography-2.4.2-cp27-cp27m-manylinux1_i686.whl

Download URL cryptography-2.4.2-cp27-cp27m-manylinux1_i686.whl
Size 1.9 MB
Tags CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
63b064a074f8dc61be81449796e2c3f4e308b6eba04a241a5c9f2d05e882c681
BLAKE2b-256 checksum
How to use checksums
97b7af53253e3bb3d491ed7bf661386821d3fe1e95fb7c51faf4f8d953e2a45a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / cryptography-2.4.2-cp27-cp27m-macosx_10_6_intel.whl

Download URL cryptography-2.4.2-cp27-cp27m-macosx_10_6_intel.whl
Size 1.5 MB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
0ff4a3d6ea86aa0c9e06e92a9f986de7ee8231f36c4da1b31c61a7e692ef3378
BLAKE2b-256 checksum
How to use checksums
76693464878ad1211f1f842e89217d907645849c5bfe20e20c695a1d7e4a7c88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

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

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

This release

2.4.2 This release

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