Skip to main content
Latest Version Latest Docs https://travis-ci.org/pyca/cryptography.svg?branch=master https://dev.azure.com/pyca/cryptography/_apis/build/status/Azure%20CI?branchName=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.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 2.7

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

Built distributions (wheels)

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

Release files / cryptography-2.7.tar.gz

Download URL cryptography-2.7.tar.gz
Size 495.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e6347742ac8f35ded4a46ff835c60e68c22a536a8ae5c4422966d06946b6d4c6
BLAKE2b-256 checksum
How to use checksums
c295f43d02315f4ec074219c6e3124a87eba1d2d12196c2767fadfdc07a83884
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

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

Download URL cryptography-2.7-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
f27d93f0139a3c056172ebb5d4f9056e770fdf0206c2f422ff2ebbad142e09ed
BLAKE2b-256 checksum
How to use checksums
3373fc8c85104bd316086a7717d4970aec5e05fafcd6b9bf7257fe3621b180a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

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

Download URL cryptography-2.7-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
961e886d8a3590fd2c723cf07be14e2a91cf53c25f02435c04d39e90780e3b53
BLAKE2b-256 checksum
How to use checksums
7dc9574f2cffcd4b9213b019b25ac158d71e17b549a43cb5f0912b418c2f06e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

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

Download URL cryptography-2.7-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
5f61c7d749048fa6e3322258b4263463bfccefecb0dd731b6561cb617a1d9bb9
BLAKE2b-256 checksum
How to use checksums
311ff158f5e83c934ff71cde6c54ebcac48547ec05c01836054ea721daf9840b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

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

Download URL cryptography-2.7-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
72e24c521fa2106f19623a3851e9f89ddfdeb9ac63871c7643790f872a305dfc
BLAKE2b-256 checksum
How to use checksums
f849f48261514feab2ece4d48047adac3b70c7b3516f3c6bedc1379d0474bd14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

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

Download URL cryptography-2.7-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
3452bba7c21c69f2df772762be0066c7ed5dc65df494a1d53a58b683a83e1216
BLAKE2b-256 checksum
How to use checksums
b82449a752154b33420f43e421f60992d1fe62f08b848d45d3fef92dff13ef4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

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

Download URL cryptography-2.7-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
7b97ae6ef5cba2e3bb14256625423413d5ce8d1abb91d4f29b6d1a081da765f8
BLAKE2b-256 checksum
How to use checksums
682c8602793c5097d55f6e45e4427df40af3233021f11156d475e283806e39c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

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

Download URL cryptography-2.7-cp34-cp34m-win_amd64.whl
Size 1.5 MB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
5751d8a11b956fbfa314f6553d186b94aa70fdb03d8a4d4f1c82dcacf0cbe28a
BLAKE2b-256 checksum
How to use checksums
b3fe341d934f7e7e7b4d6b0b5297467786d5b5488f70c1332d0558cd1df70a5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

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

Download URL cryptography-2.7-cp34-cp34m-win32.whl
Size 1.3 MB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
25dd1581a183e9e7a806fe0543f485103232f940fcfc301db65e630512cce643
BLAKE2b-256 checksum
How to use checksums
6b77486d268d4b602f9d262b445b506446617f772fcd4ea47d49ec6cae91f4e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

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

Download URL cryptography-2.7-cp34-abi3-manylinux1_x86_64.whl
Size 2.3 MB
Tags CPython 3.4 Linux glibc 2.5+ x86-64 abi3
SHA-256 checksum
How to use checksums
96d8473848e984184b6728e2c9d391482008646276c3ff084a1bd89e15ff53a1
BLAKE2b-256 checksum
How to use checksums
9718c6557f63a6abde34707196fb2cad1c6dc0dbff25a200d5044922496668a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

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

Download URL cryptography-2.7-cp34-abi3-macosx_10_6_intel.whl
Size 1.6 MB
Tags CPython 3.4 abi3 macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
24b61e5fcb506424d3ec4e18bca995833839bf13c59fc43e530e488f28d46b8c
BLAKE2b-256 checksum
How to use checksums
634e57b7a6bd98906872fcd2531e74b532de2abe17d675a5cf171931fcb4a9e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

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

Download URL cryptography-2.7-cp27-cp27mu-manylinux1_x86_64.whl
Size 2.3 MB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
ae536da50c7ad1e002c3eee101871d93abdc90d9c5f651818450a0d3af718609
BLAKE2b-256 checksum
How to use checksums
e66850698ce24c61db7d44d93a5043c621a0ca7839d4ef9dff913e6ab465fc92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

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

Download URL cryptography-2.7-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
41a0be220dd1ed9e998f5891948306eb8c812b512dc398e5a01846d855050799
BLAKE2b-256 checksum
How to use checksums
d8306313af106e5abff8bfa78eb2ce630673bb5add4fafd3b28d4bd0271c8e7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

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

Download URL cryptography-2.7-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
b0db0cecf396033abb4a93c95d1602f268b3a68bb0a9cc06a7cff587bb9a7292
BLAKE2b-256 checksum
How to use checksums
117b998951367688566f44bc922dad428ec1ae2f8af2d774cf29a567a419c5c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

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

Download URL cryptography-2.7-cp27-cp27m-manylinux1_x86_64.whl
Size 2.3 MB
Tags CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
cfee9164954c186b191b91d4193989ca994703b2fff406f71cf454a2d3c7327e
BLAKE2b-256 checksum
How to use checksums
b2119990184d2eeccea1daeafae6d11b2772d908795e286f9c6346582f1c57eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

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

Download URL cryptography-2.7-cp27-cp27m-macosx_10_6_intel.whl
Size 1.6 MB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
f57b76e46a58b63d1c6375017f4564a28f19a5ca912691fd2e4261b3414b618d
BLAKE2b-256 checksum
How to use checksums
e2bf3b641820c561aedde134e88528ba68dffe41ed238899fab7f7ef20118aaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

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

This release

2.7 This release

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