Skip to main content

cryptography is a package which provides cryptographic recipes and primitives to Python developers.

Project description

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.

Project details


Release history Release notifications | RSS feed

This version

3.4.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cryptography-3.4.2.tar.gz (545.0 kB view details)

Uploaded Source

Built Distributions

cryptography-3.4.2-cp36-abi3-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.6+ Windows x86-64

cryptography-3.4.2-cp36-abi3-win32.whl (1.4 MB view details)

Uploaded CPython 3.6+ Windows x86

cryptography-3.4.2-cp36-abi3-manylinux2010_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.12+ x86-64

cryptography-3.4.2-cp36-abi3-macosx_10_10_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.6+ macOS 10.10+ x86-64

File details

Details for the file cryptography-3.4.2.tar.gz.

File metadata

  • Download URL: cryptography-3.4.2.tar.gz
  • Upload date:
  • Size: 545.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for cryptography-3.4.2.tar.gz
Algorithm Hash digest
SHA256 c460e296c8cb3a796cdcc7d56c62a78fcd0a09409ccd9c658ace4f987ce935c4
MD5 42dbac76d87d70b578f4b3948770cb7e
BLAKE2b-256 3552a3b9c3d8ce84544bfe8d663ba993e0593d9c518d6c08f01f6f8fff87b895

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-3.4.2-cp36-abi3-win_amd64.whl.

File metadata

  • Download URL: cryptography-3.4.2-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for cryptography-3.4.2-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7b7daa4def5885a25dafe5638fe698ad7c6b3db86cd9e0927223b2e5c7756959
MD5 c2a9cea96994c60166eba7e5a222754d
BLAKE2b-256 3c06f71136bb44ef7a4d63eb94a054b7c84e2440c94ad6e08c54838ede201ac5

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-3.4.2-cp36-abi3-win32.whl.

File metadata

  • Download URL: cryptography-3.4.2-cp36-abi3-win32.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.6+, Windows x86
  • Uploaded using 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

File hashes

Hashes for cryptography-3.4.2-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 3eae6043dc837c7140de0623bc57e8dcec95f794ae33bdbba90c467b59ac02b6
MD5 cfd9f3c3c42d07d14db74f9977a7b158
BLAKE2b-256 50b107c465229e5dcd32d37d8210d01a8f10ab8cc219bee1e658d05a930e2a01

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-3.4.2-cp36-abi3-manylinux2014_x86_64.whl.

File metadata

  • Download URL: cryptography-3.4.2-cp36-abi3-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.6+
  • Uploaded using 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

File hashes

Hashes for cryptography-3.4.2-cp36-abi3-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 785d1d063f1717d812c22a12223e9ba2d774d86b61fb9fc00f4704183feb1c5f
MD5 b5f50a8b2c2f9173b187ff32794de6cb
BLAKE2b-256 4955592b2802adccaf3ba71123ef4a266db71a4e65772a8a06d5ba8d410adb5e

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-3.4.2-cp36-abi3-manylinux2014_aarch64.whl.

File metadata

  • Download URL: cryptography-3.4.2-cp36-abi3-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.6+
  • Uploaded using 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

File hashes

Hashes for cryptography-3.4.2-cp36-abi3-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0d6ba95ffe021b6270d4727a3a848304dce82a789cae1601f92d5bceb9f5ef39
MD5 786424b44cbd22a7e58a4b90cd106b65
BLAKE2b-256 e8c851eaf99a027a004b69669b5c909404e4ea2f9ee3541aff8ac75a4bae1208

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-3.4.2-cp36-abi3-manylinux2010_x86_64.whl.

File metadata

  • Download URL: cryptography-3.4.2-cp36-abi3-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.12+ x86-64
  • Uploaded using 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

File hashes

Hashes for cryptography-3.4.2-cp36-abi3-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 bc2fc5405357dbe31ab329ff852381b84023c27d7f6e4a7fe8ec120088691e7f
MD5 c36c769d7702f2768c4ad8737dafaf57
BLAKE2b-256 9ab8d08b051a862397ffecbe4d2355d688dd5c4071ca171995bd0aae45f8def1

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-3.4.2-cp36-abi3-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: cryptography-3.4.2-cp36-abi3-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.6+, macOS 10.10+ x86-64
  • Uploaded using 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

File hashes

Hashes for cryptography-3.4.2-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 2a41d76818e5ebe4028951ca10c80fdb8f8e6ad78a6519afc9fe32b544980b93
MD5 b1f8c5eda9cc5c01ae6be7be0973d797
BLAKE2b-256 cd5566dd143a23fa0d15fa5826e897e8a002116de20cb153b72998e6498f9da0

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page