Skip to main content
Latest Version Latest Docs 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 3.6+ and PyPy3 7.2+.

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

Built distributions (wheels)

Table of built distributions (wheels) for cryptography 3.4
File
cryptography-3.4-cp36-abi3-win_amd64.whl CPython 3.6 abi3 Windows x86-64 Details
cryptography-3.4-cp36-abi3-win32.whl CPython 3.6 abi3 Windows x86-32 Details
cryptography-3.4-cp36-abi3-manylinux2014_x86_64.whl CPython 3.6 abi3 Linux glibc 2.17+ x86-64 Details
cryptography-3.4-cp36-abi3-manylinux2014_aarch64.whl CPython 3.6 abi3 Linux glibc 2.17+ ARM64 Details
cryptography-3.4-cp36-abi3-manylinux2010_x86_64.whl CPython 3.6 abi3 Linux glibc 2.12+ x86-64 Details
cryptography-3.4-cp36-abi3-macosx_10_15_x86_64.whl CPython 3.6 abi3 macOS 10.15+ x86-64 Details
cryptography-3.4-cp36-abi3-macosx_10_10_x86_64.whl CPython 3.6 abi3 macOS 10.10+ x86-64 Details

Total release size: 16.8 MB

Release files / cryptography-3.4.tar.gz

Download URL cryptography-3.4.tar.gz
Size 544.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9f7aa11ea95723359f914be3217d8b378bc3897f65a1ec1ab4e0118c336f51fc
BLAKE2b-256 checksum
How to use checksums
ead82afd2890fe451a3c109d2bdb6bc4ded55ec43059e524344d5e0004e36412
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.4-cp36-abi3-win_amd64.whl

Download URL cryptography-3.4-cp36-abi3-win_amd64.whl
Size 1.6 MB
Tags CPython 3.6 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
6f414e7f0fb5cb5667251fd32367674dbed90da45daa532827c8e54868e9a0b7
BLAKE2b-256 checksum
How to use checksums
1b445d487df4f9314fa4744dadf28c759459653182127297669515b796be80e4
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.4-cp36-abi3-win32.whl

Download URL cryptography-3.4-cp36-abi3-win32.whl
Size 1.4 MB
Tags CPython 3.6 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
b652ae00b3b7c6f0afef061686919206d92e12ce2c926dc28b68ccb1b3ceb630
BLAKE2b-256 checksum
How to use checksums
aa09b174a2f982b91b434f9ef84dcb9c5dd0b24d1203d6c9e843e8d51ecdb86b
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.4-cp36-abi3-manylinux2014_x86_64.whl

Download URL cryptography-3.4-cp36-abi3-manylinux2014_x86_64.whl
Size 3.2 MB
Tags CPython 3.6 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
9efbd2867258a4b12e3c39ba12a064d3f862fb3aad6bc05120c830d51c250f16
BLAKE2b-256 checksum
How to use checksums
6df0a64a0981eb92d64a9cc54779a627b8dcca2eee8084e1aa1cd6f316edc35f
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.4-cp36-abi3-manylinux2014_aarch64.whl

Download URL cryptography-3.4-cp36-abi3-manylinux2014_aarch64.whl
Size 3.1 MB
Tags CPython 3.6 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
e1184327cbce81cc1cabc65820d775bdc72fa032805d2a756ab75bd3bf0a31e3
BLAKE2b-256 checksum
How to use checksums
b522679f6023ce9a6accef39824a2fae5989c668317c3764d73c84ae1b1a9c03
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.4-cp36-abi3-manylinux2010_x86_64.whl

Download URL cryptography-3.4-cp36-abi3-manylinux2010_x86_64.whl
Size 3.1 MB
Tags CPython 3.6 Linux glibc 2.12+ x86-64 abi3
SHA-256 checksum
How to use checksums
33877917286b449364ef0b1769d2ec8c51b8aa03233e9221aea0339d8ae0c773
BLAKE2b-256 checksum
How to use checksums
94c3bbed4d4769bc7b48a3ea92d6bb073eada9b3a7dd743b9a561ae0be59aaad
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.4-cp36-abi3-macosx_10_15_x86_64.whl

Download URL cryptography-3.4-cp36-abi3-macosx_10_15_x86_64.whl
Size 2.0 MB
Tags CPython 3.6 abi3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
e7d5aa2a82ccbfbae7b216d687bd81775cc32dbf82ad910d3b44f6322e3a7816
BLAKE2b-256 checksum
How to use checksums
14bb97f1bb252b68825d4a7bfe18b72aa25b8f90332e61fe63fdc1cd83d77704
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.4-cp36-abi3-macosx_10_10_x86_64.whl

Download URL cryptography-3.4-cp36-abi3-macosx_10_10_x86_64.whl
Size 2.0 MB
Tags CPython 3.6 abi3 macOS 10.10+ x86-64
SHA-256 checksum
How to use checksums
fbd38b271aee2c3a8faef582aefd78e3e3a4ffdb6c7e942ab21bd9b0511d26a9
BLAKE2b-256 checksum
How to use checksums
3f38fc409008d29b8df9dbbd4411e1882cc68e588a91946cd039045004bfd136
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

This release

3.4 This release

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