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

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.6.tar.gz (546.7 kB view details)

Uploaded Source

Built Distributions

cryptography-3.4.6-pp37-pypy37_pp73-manylinux2010_x86_64.whl (2.3 MB view details)

Uploaded PyPy manylinux: glibc 2.12+ x86-64

cryptography-3.4.6-pp36-pypy36_pp73-manylinux2010_x86_64.whl (2.3 MB view details)

Uploaded PyPy manylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.6+ Windows x86-64

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

Uploaded CPython 3.6+ Windows x86

cryptography-3.4.6-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.6+

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

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

cryptography-3.4.6-cp36-abi3-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.6+ macOS 11.0+ ARM64

cryptography-3.4.6-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.6.tar.gz.

File metadata

  • Download URL: cryptography-3.4.6.tar.gz
  • Upload date:
  • Size: 546.7 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.6.tar.gz
Algorithm Hash digest
SHA256 2d32223e5b0ee02943f32b19245b61a62db83a882f0e76cc564e1cec60d48f87
MD5 498e716708a5d36ff4593c71d7bef364
BLAKE2b-256 fa2d2154d8cb773064570f48ec0b60258a4522490fcb115a6c7c9423482ca993

See more details on using hashes here.

File details

Details for the file cryptography-3.4.6-pp37-pypy37_pp73-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-3.4.6-pp37-pypy37_pp73-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9e98b452132963678e3ac6c73f7010fe53adf72209a32854d55690acac3f6724
MD5 563c00a0c371e20b8074bb8e86cbb045
BLAKE2b-256 412baa520df140c46a38394c637f692f0c3b5f4fcc61adbed5828b4ade12f969

See more details on using hashes here.

File details

Details for the file cryptography-3.4.6-pp37-pypy37_pp73-manylinux2010_x86_64.whl.

File metadata

  • Download URL: cryptography-3.4.6-pp37-pypy37_pp73-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: PyPy, 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.6-pp37-pypy37_pp73-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 0923ba600d00718d63a3976f23cab19aef10c1765038945628cd9be047ad0336
MD5 7f205143ca3d5475c6c99b27238d5d61
BLAKE2b-256 22ce8980838032eb0d929e112bc831557720dd99c7632ec803fcad29d17a2f9d

See more details on using hashes here.

File details

Details for the file cryptography-3.4.6-pp36-pypy36_pp73-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-3.4.6-pp36-pypy36_pp73-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 600cf9bfe75e96d965509a4c0b2b183f74a4fa6f5331dcb40fb7b77b7c2484df
MD5 1f3ac4ebb7de8b501f6cf648d8f04497
BLAKE2b-256 694df5fb182e804d55405a74f0b42894ca9b9b329f1982d2ab96b78a40bf90d3

See more details on using hashes here.

File details

Details for the file cryptography-3.4.6-pp36-pypy36_pp73-manylinux2010_x86_64.whl.

File metadata

  • Download URL: cryptography-3.4.6-pp36-pypy36_pp73-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: PyPy, 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.6-pp36-pypy36_pp73-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 066bc53f052dfeda2f2d7c195cf16fb3e5ff13e1b6b7415b468514b40b381a5b
MD5 719f3350d1d452e0e883282d779bb727
BLAKE2b-256 badaddba59906c2f56f2d2751998e757e89ae2e1b693533ad6817000bff9aa99

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.6-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.6-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 66b57a9ca4b3221d51b237094b0303843b914b7d5afd4349970bb26518e350b0
MD5 81309c7aa8c1245d222105e6f44732f7
BLAKE2b-256 6403b2a66da95d0a0acac2b5348526f9b92302136563444b33c7049cbdfecf69

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.6-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.6-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 df186fcbf86dc1ce56305becb8434e4b6b7504bc724b71ad7a3239e0c9d14ef2
MD5 ee219ce156ddf9af7a5b21bebb09d009
BLAKE2b-256 8c807f2fa8194ba3dbffbe34d6cd524bb8fe199490334b43db84ce3e40007a3d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.6-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.6-cp36-abi3-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fec7fb46b10da10d9e1d078d1ff8ed9e05ae14f431fdbd11145edd0550b9a964
MD5 be499f5eb13f15c7047694f576d8c817
BLAKE2b-256 f81facde6ff69864c5e78b56488e3afd93c1ccc8c2651186e2a5f93d93f64859

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.6-cp36-abi3-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 3.0 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.6-cp36-abi3-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5ecf2bcb34d17415e89b546dbb44e73080f747e504273e4d4987630493cded1b
MD5 b50e884e203bbcdeddab15348541b90b
BLAKE2b-256 175388eeca3c151be7fd4c0b97f535bdb02362e91bfc0e7fa6d9cd131a5d09ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.6-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.6-cp36-abi3-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 93cfe5b7ff006de13e1e89830810ecbd014791b042cbe5eec253be11ac2b28f3
MD5 a612cb5925b6535770e57bd6d536f07e
BLAKE2b-256 2f9fad80cfcf9fab90a32cf4e65048cee0936be8ac57cf2a3f63edb88a84eeaf

See more details on using hashes here.

File details

Details for the file cryptography-3.4.6-cp36-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: cryptography-3.4.6-cp36-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.6+, macOS 11.0+ ARM64
  • 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.6-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4169a27b818de4a1860720108b55a2801f32b6ae79e7f99c00d79f2a2822eeb7
MD5 071a82311f58e2ee458012cfa0eb4fa6
BLAKE2b-256 3ffb4578437279896c66efd1e77ec93edc06c785bb7ab6e31eb54178a13f4671

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.6-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.6-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 57ad77d32917bc55299b16d3b996ffa42a1c73c6cfa829b14043c561288d2799
MD5 02e56216b6d9fdb598a806b5a9db7b80
BLAKE2b-256 32524ba2bdec39b51a072a968c2b425c3649777d4816d27832703e082e2c5534

See more details on using hashes here.

Supported by

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