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

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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.6+ Windows x86-64

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

Uploaded CPython 3.6+ Windows x86

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

Uploaded CPython 3.6+

cryptography-3.4-cp36-abi3-manylinux2014_aarch64.whl (3.1 MB view details)

Uploaded CPython 3.6+

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

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

cryptography-3.4-cp36-abi3-macosx_10_15_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.6+ macOS 10.15+ x86-64

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

File metadata

  • Download URL: cryptography-3.4.tar.gz
  • Upload date:
  • Size: 544.2 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.tar.gz
Algorithm Hash digest
SHA256 9f7aa11ea95723359f914be3217d8b378bc3897f65a1ec1ab4e0118c336f51fc
MD5 0e67f1a3856ed28873b67fbe045106cb
BLAKE2b-256 ead82afd2890fe451a3c109d2bdb6bc4ded55ec43059e524344d5e0004e36412

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4-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-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6f414e7f0fb5cb5667251fd32367674dbed90da45daa532827c8e54868e9a0b7
MD5 285485a99717afa98f5259fc702a774a
BLAKE2b-256 1b445d487df4f9314fa4744dadf28c759459653182127297669515b796be80e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4-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-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 b652ae00b3b7c6f0afef061686919206d92e12ce2c926dc28b68ccb1b3ceb630
MD5 6eaeb8e2af2abb6c354f8d948cb5a961
BLAKE2b-256 aa09b174a2f982b91b434f9ef84dcb9c5dd0b24d1203d6c9e843e8d51ecdb86b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4-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-cp36-abi3-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9efbd2867258a4b12e3c39ba12a064d3f862fb3aad6bc05120c830d51c250f16
MD5 6a3ac6f92a1ba47b49e065334b908335
BLAKE2b-256 6df0a64a0981eb92d64a9cc54779a627b8dcca2eee8084e1aa1cd6f316edc35f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4-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-cp36-abi3-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e1184327cbce81cc1cabc65820d775bdc72fa032805d2a756ab75bd3bf0a31e3
MD5 674c9284a5145d1bac92125693a9a0ac
BLAKE2b-256 b522679f6023ce9a6accef39824a2fae5989c668317c3764d73c84ae1b1a9c03

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4-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-cp36-abi3-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 33877917286b449364ef0b1769d2ec8c51b8aa03233e9221aea0339d8ae0c773
MD5 a721b252c474a1511d02255221ba90f0
BLAKE2b-256 94c3bbed4d4769bc7b48a3ea92d6bb073eada9b3a7dd743b9a561ae0be59aaad

See more details on using hashes here.

File details

Details for the file cryptography-3.4-cp36-abi3-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: cryptography-3.4-cp36-abi3-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.6+, macOS 10.15+ 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-cp36-abi3-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 e7d5aa2a82ccbfbae7b216d687bd81775cc32dbf82ad910d3b44f6322e3a7816
MD5 a1d6ca5d383ebb5eb6e721622b4d8481
BLAKE2b-256 14bb97f1bb252b68825d4a7bfe18b72aa25b8f90332e61fe63fdc1cd83d77704

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4-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-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 fbd38b271aee2c3a8faef582aefd78e3e3a4ffdb6c7e942ab21bd9b0511d26a9
MD5 819b1f6bcb621d1516c2051bc1bd5b39
BLAKE2b-256 3f38fc409008d29b8df9dbbd4411e1882cc68e588a91946cd039045004bfd136

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