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 2.7, Python 3.6+, 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.

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

Uploaded Source

Built Distributions

cryptography-3.3.1-cp36-abi3-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.6+Windows x86-64

cryptography-3.3.1-cp36-abi3-win32.whl (1.3 MB view details)

Uploaded CPython 3.6+Windows x86

cryptography-3.3.1-cp36-abi3-manylinux2014_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.6+

cryptography-3.3.1-cp36-abi3-manylinux2010_x86_64.whl (2.6 MB view details)

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

cryptography-3.3.1-cp36-abi3-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.6+

cryptography-3.3.1-cp36-abi3-macosx_10_10_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.6+macOS 10.10+ x86-64

cryptography-3.3.1-cp27-cp27mu-manylinux2010_x86_64.whl (2.6 MB view details)

Uploaded CPython 2.7mumanylinux: glibc 2.12+ x86-64

cryptography-3.3.1-cp27-cp27mu-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 2.7mu

cryptography-3.3.1-cp27-cp27m-win_amd64.whl (1.5 MB view details)

Uploaded CPython 2.7mWindows x86-64

cryptography-3.3.1-cp27-cp27m-win32.whl (1.3 MB view details)

Uploaded CPython 2.7mWindows x86

cryptography-3.3.1-cp27-cp27m-manylinux2010_x86_64.whl (2.6 MB view details)

Uploaded CPython 2.7mmanylinux: glibc 2.12+ x86-64

cryptography-3.3.1-cp27-cp27m-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 2.7m

cryptography-3.3.1-cp27-cp27m-macosx_10_10_x86_64.whl (1.8 MB view details)

Uploaded CPython 2.7mmacOS 10.10+ x86-64

File details

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

File metadata

  • Download URL: cryptography-3.3.1.tar.gz
  • Upload date:
  • Size: 539.8 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.3.1.tar.gz
Algorithm Hash digest
SHA256 7e177e4bea2de937a584b13645cab32f25e3d96fc0bc4a4cf99c27dc77682be6
MD5 6faa1a7125c500c0e1586ad342ba3b30
BLAKE2b-256 b782f7a4ddc1af185936c1e4fa000942ffa8fb2d98cff26b75afa7b3c63391c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.1-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.5 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.3.1-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0e85aaae861d0485eb5a79d33226dd6248d2a9f133b81532c8f5aae37de10ff7
MD5 0edede6db58aba9bf7de44c0337f24dc
BLAKE2b-256 91b0a3376ede22b0b16b4250ef7539e9c11a5f1b7db2e1cd332fb5760e8ecedc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.1-cp36-abi3-win32.whl
  • Upload date:
  • Size: 1.3 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.3.1-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 b4890d5fb9b7a23e3bf8abf5a8a7da8e228f1e97dc96b30b95685df840b6914a
MD5 44d51df4d9ee53d20b4d6e66d88234db
BLAKE2b-256 f166bb7c753c709e9bf5104c4b5e2e7b3bec2083641f251d22814dbe94613eeb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.1-cp36-abi3-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 2.6 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.3.1-cp36-abi3-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9e21301f7a1e7c03dbea73e8602905a4ebba641547a462b26dd03451e5769e7c
MD5 63039de6043ba936af8f8325b4de8fc2
BLAKE2b-256 984d2a235f7bf7946c09ba9d5e81ee1e5cfcbbcd174bc3e47a7174e342254e2a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.1-cp36-abi3-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 2.6 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.3.1-cp36-abi3-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 69e836c9e5ff4373ce6d3ab311c1a2eed274793083858d3cd4c7d12ce20d5f9c
MD5 bb332b203e71615277a9303065af8250
BLAKE2b-256 c9de7054df0620b5411ba45480f0261e1fb66a53f3db31b28e3aa52c026e72d9

See more details on using hashes here.

File details

Details for the file cryptography-3.3.1-cp36-abi3-manylinux1_x86_64.whl.

File metadata

  • Download URL: cryptography-3.3.1-cp36-abi3-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 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.3.1-cp36-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 788a3c9942df5e4371c199d10383f44a105d67d401fb4304178020142f020244
MD5 16d87d189d47dfddbe95a24cb7b30c71
BLAKE2b-256 7cb61f3dd48a22fcd56f19e6cfa95f74ff0a64b046306354e1bd2b936b7c9ab4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.1-cp36-abi3-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 1.8 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.3.1-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 dc42f645f8f3a489c3dd416730a514e7a91a59510ddaadc09d04224c098d3302
MD5 c4e26a51fca8aca9799fe2977513ff58
BLAKE2b-256 f8e9d54b30ac24b4a372b65a9cdb1ea977f34eb2cea0c3f26fd6aacebb3a03b1

See more details on using hashes here.

File details

Details for the file cryptography-3.3.1-cp27-cp27mu-manylinux2010_x86_64.whl.

File metadata

  • Download URL: cryptography-3.3.1-cp27-cp27mu-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 2.7mu, 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.3.1-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 83d9d2dfec70364a74f4e7c70ad04d3ca2e6a08b703606993407bf46b97868c5
MD5 42c6703bb4c78ca447816501e8ae0ffd
BLAKE2b-256 78940c6ce22feb5b9c4d6ba5f11a49910ba293e4043f0631894c9f1f056d3345

See more details on using hashes here.

File details

Details for the file cryptography-3.3.1-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

  • Download URL: cryptography-3.3.1-cp27-cp27mu-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 2.7mu
  • 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.3.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0003a52a123602e1acee177dc90dd201f9bb1e73f24a070db7d36c588e8f5c7d
MD5 c07667a4166e4eaabe54d13d3a0e7c1f
BLAKE2b-256 037bb208dfa8ac77108af4a14960d1a9e0bb86fd87f084dd75f614f9b27adc85

See more details on using hashes here.

File details

Details for the file cryptography-3.3.1-cp27-cp27m-win_amd64.whl.

File metadata

  • Download URL: cryptography-3.3.1-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 2.7m, 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.3.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 594a1db4511bc4d960571536abe21b4e5c3003e8750ab8365fafce71c5d86901
MD5 5f4bd3b4cf2b4f4ce5ed057b5799533a
BLAKE2b-256 a29f1e953f5d31e1d1b563a93f13f60454c7f06e3523f95768859f9a4348abf9

See more details on using hashes here.

File details

Details for the file cryptography-3.3.1-cp27-cp27m-win32.whl.

File metadata

  • Download URL: cryptography-3.3.1-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 2.7m, 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.3.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 84ef7a0c10c24a7773163f917f1cb6b4444597efd505a8aed0a22e8c4780f27e
MD5 69e36bff11df025ce31a2d457f90908a
BLAKE2b-256 27563958cfa0bae63629c2eb9b15fa15d374f7b6ecb10cd3154820b908d90113

See more details on using hashes here.

File details

Details for the file cryptography-3.3.1-cp27-cp27m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: cryptography-3.3.1-cp27-cp27m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 2.7m, 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.3.1-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a69bd3c68b98298f490e84519b954335154917eaab52cf582fa2c5c7efc6e812
MD5 90bc057745824837d21bd1825e1ab7ea
BLAKE2b-256 ae63ee550bb28b30c11777f068a14c77b1dd4f4241cc52a3eb4fb953f3187255

See more details on using hashes here.

File details

Details for the file cryptography-3.3.1-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

  • Download URL: cryptography-3.3.1-cp27-cp27m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 2.7m
  • 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.3.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9f6b0492d111b43de5f70052e24c1f0951cb9e6022188ebcb1cc3a3d301469b0
MD5 57b70548896923d5c2afa458714473fd
BLAKE2b-256 1254706ec35369a8f9dd23e5f62bfe26ef84543e08bbdb6ff5b0772ec1028282

See more details on using hashes here.

File details

Details for the file cryptography-3.3.1-cp27-cp27m-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: cryptography-3.3.1-cp27-cp27m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 2.7m, 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.3.1-cp27-cp27m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 c366df0401d1ec4e548bebe8f91d55ebcc0ec3137900d214dd7aac8427ef3030
MD5 f138028c8a156ac699ed3a9248327b94
BLAKE2b-256 033216d228752ca40fadd42983d0769604d77bc871b8911ca49d3a7d853a05c9

See more details on using hashes here.

Supported by

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