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.1

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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.6+ Windows x86-64

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

Uploaded CPython 3.6+ Windows x86

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

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

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

File metadata

  • Download URL: cryptography-3.4.1.tar.gz
  • Upload date:
  • Size: 544.4 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.1.tar.gz
Algorithm Hash digest
SHA256 be70bdaa29bcacf70896dae3a6f3eef91daf51bfba8a49dbfb9c23bb2cc914ba
MD5 890028fa4b8c2bf09ac99836f9e925b5
BLAKE2b-256 06edcb79cc94ec58d9d92557238fc6c629cd6e07d72334d2de556aecc2211370

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.1-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.1-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 423c12d04df7ed3323e74745cba91056a411bd8f57609a6a64562845ccc5541a
MD5 2e610ed94c86c08b980c06a0708f15ff
BLAKE2b-256 b17fa1091834ba4600c105cece87c8d84be0fde7f8e8997dc2f079e08b16b2ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.1-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.1-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 007edf78a0b96513b94c1c7cc515286aec72f787bdcd11892edcdec9e27e936d
MD5 54d53e39a88d873b5446d983adcf510d
BLAKE2b-256 1173833f0ccb50861f68162adc7ed6e60fa798582430f85ccd0d10a75659afd3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.1-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.1-cp36-abi3-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 85c7d84beacf32bf629767f06c78af0350eb869e2830e4ebe05b239c695eca38
MD5 dd6f8e35d77832b3472d2b308f5d3b43
BLAKE2b-256 faaffe27c2cd875bb0621d7fedd8b10dd5bd437e6f40ad2436d115d4e7b8c576

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.1-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.1-cp36-abi3-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cd1d14b6c52d9372a7f4682576fa7d9c9d256afa6cc50828b337dbb8a9596066
MD5 5142284d4c493c2b63fc6ce0f0fafc05
BLAKE2b-256 3df9e3640ec348fb132f5995adb291f084ca55dfe1561230d12c93cb3c45a45d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.1-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.1-cp36-abi3-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 4d8df1f5b6b172fe53a465d8fc32134a07ccd4dc677f19af85562bcbc7e97504
MD5 1b0963039dd7d194c8fa39d442566274
BLAKE2b-256 7c0669624b6a017ff6db5b73d0644b5cb367b65a93e7f8b780badd3b469bfebf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.1-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.1-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 e63b8da1d77ff60a73d72db68cb72e8ffbe9f7319e5ffa23f6bfe2757d6871e3
MD5 b61a880a35ec88aac3c73e1f8ae8dcd8
BLAKE2b-256 2fec6578d976aaa95a558b422cf3093bcfed559cbe81174c4eee7c757d00ec8e

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