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

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

Built distributions (wheels)

Table of built distributions (wheels) for cryptography 2.4
File
cryptography-2.4-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
cryptography-2.4-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details
cryptography-2.4-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
cryptography-2.4-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
cryptography-2.4-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
cryptography-2.4-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details
cryptography-2.4-cp34-cp34m-win_amd64.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-64 Details
cryptography-2.4-cp34-cp34m-win32.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-32 Details
cryptography-2.4-cp34-abi3-macosx_10_6_intel.whl CPython 3.4 abi3 macOS 10.6+ Intel (x86-64, i386) Details
cryptography-2.4-cp27-cp27m-win_amd64.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-64 Details
cryptography-2.4-cp27-cp27m-win32.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-32 Details
cryptography-2.4-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: 15.6 MB

Release files / cryptography-2.4.tar.gz

Download URL cryptography-2.4.tar.gz
Size 468.3 kB
Tags Source
SHA-256 checksum
How to use checksums
13c1841f784df9acdcdd0c91d98146a0c8895d10df6b313ab3fb90a434489426
BLAKE2b-256 checksum
How to use checksums
3a9bd6e97a3e9d9750aed71f024cd498653dbcf60f012b207f9243405f20540d
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-cp37-cp37m-win_amd64.whl

Download URL cryptography-2.4-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
f094c670cf13068ae0c7cfca6e03081a9d07820bd1978a6377d9dd80c6a3855f
BLAKE2b-256 checksum
How to use checksums
77a64cb32946922f37e6bebb30ea3db9f7f2baae1386a60bdabec6c977946d12
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-cp37-cp37m-win32.whl

Download URL cryptography-2.4-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
f502892c67783b1f792b586e61955628267bb8c5ae0ac61f99d8b5e121a5e820
BLAKE2b-256 checksum
How to use checksums
ab7239066c981fe67dfec3e039c4b5a9cfed212c3463c4e08590ddcbae5593e3
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-cp36-cp36m-win_amd64.whl

Download URL cryptography-2.4-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
934fd3191af7737cd70557ba4b5e448b9296cbaa0bc3a47fbb604b3480b5b2fd
BLAKE2b-256 checksum
How to use checksums
80933915de515ab5eecf5b9371ce01752570f35bf08267790a8862ce039825ff
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-cp36-cp36m-win32.whl

Download URL cryptography-2.4-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
e9a58bdc70f37c9a4ef6a72c706f9a3acb907588e393f79b50ff97fd87d15fb4
BLAKE2b-256 checksum
How to use checksums
5ac6ccfec7ec610ae8e6e34d8c25ea85feda8dd931e78880dc5a1ba787b0c9d8
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-cp35-cp35m-win_amd64.whl

Download URL cryptography-2.4-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
0bc71ce86452c22735e5d101910ac11e34f6e3e908ca644b23ea982ad747210e
BLAKE2b-256 checksum
How to use checksums
c6f2743346daa48cd31b787d90a6bc474e4012df61245dc74f3c0e97a4b8f951
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-cp35-cp35m-win32.whl

Download URL cryptography-2.4-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
bf29ec18833c339de17137a90e8fa36496afcd7d9764777b3d1018ddb054eff8
BLAKE2b-256 checksum
How to use checksums
f776a0853d107a23807b1146d548602d1b4d5c7b67bd05b41fe0da21887a992e
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-cp34-cp34m-win_amd64.whl

Download URL cryptography-2.4-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
ed328ff9f2dbfbd48aef22f17eec9908dfb2e67a9549ee8a74da3ff851160b0c
BLAKE2b-256 checksum
How to use checksums
a03aa26214cb01acd846545a19ef626648ac2cde833771b6d1bd3cac8b9edfac
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-cp34-cp34m-win32.whl

Download URL cryptography-2.4-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
ab40540accb203abfc9042d4358781e6d406616110da0ac5dc0df47c15b0ac79
BLAKE2b-256 checksum
How to use checksums
8047d62e81da436be1c7a4a7338406ba9ebf7f58a6a4d3968118faa5b5a6e5c1
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-cp34-abi3-macosx_10_6_intel.whl

Download URL cryptography-2.4-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
4b4073903472a2aac448288483bfb8476a0102e8c8d287d6caf63bae1fdb1ef2
BLAKE2b-256 checksum
How to use checksums
fa5271bfc482a6760f3d4efb14daf8fb692d7e5a860d5e677b739256e36edc09
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-cp27-cp27m-win_amd64.whl

Download URL cryptography-2.4-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
f52e1d74a7139e53699a88a8796bcc594ad6e1d63dd462445350d487eee09cd3
BLAKE2b-256 checksum
How to use checksums
0cd9f2a9c3fb77fc28efbee771b8ee124656e012199797beeab101db41748565
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-cp27-cp27m-win32.whl

Download URL cryptography-2.4-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
eeaf1a9c44f56b2386bc0e13142a45d880ccd008477a8265c38a5ac13e3f15e7
BLAKE2b-256 checksum
How to use checksums
134d28f713ac316fc3f3ba48293ffde106791ad7200449459e4ba88d17e9804d
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-cp27-cp27m-macosx_10_6_intel.whl

Download URL cryptography-2.4-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
b459816cd403927e8174a4d6fb8d04bd09dd161ce3b2420fb1660dab2ff9e117
BLAKE2b-256 checksum
How to use checksums
926571d3315370b688172de157262ccf6526b4774223eec2c3cea2a6eba196e2
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

2.4.2

19 release files

2.4.1

19 release files

This release

2.4 This release

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