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

Uploaded Source

Built Distributions

cryptography-3.4.7-pp37-pypy37_pp73-win_amd64.whl (1.5 MB view details)

Uploaded PyPyWindows x86-64

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

Uploaded PyPymanylinux: glibc 2.12+ x86-64

cryptography-3.4.7-pp37-pypy37_pp73-macosx_10_10_x86_64.whl (1.8 MB view details)

Uploaded PyPymacOS 10.10+ x86-64

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

Uploaded PyPymanylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.6+Windows x86-64

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

Uploaded CPython 3.6+Windows x86

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

Uploaded CPython 3.6+

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

Uploaded CPython 3.6+

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

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

cryptography-3.4.7-cp36-abi3-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

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

File metadata

  • Download URL: cryptography-3.4.7.tar.gz
  • Upload date:
  • Size: 546.9 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.7.tar.gz
Algorithm Hash digest
SHA256 3d10de8116d25649631977cb37da6cbdd2d6fa0e0281d014a5b7d337255ca713
MD5 f24fb11c6d5beb18cbfe216b9e58c27e
BLAKE2b-256 9b77461087a514d2e8ece1c975d8216bc03f7048e6090c5166bc34115afdaa53

See more details on using hashes here.

File details

Details for the file cryptography-3.4.7-pp37-pypy37_pp73-win_amd64.whl.

File metadata

  • Download URL: cryptography-3.4.7-pp37-pypy37_pp73-win_amd64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: PyPy, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.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.7-pp37-pypy37_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 bf40af59ca2465b24e54f671b2de2c59257ddc4f7e5706dbd6930e26823668d3
MD5 814f0c08ff8c7b97fe1f8f0c46317c1b
BLAKE2b-256 95f81c17cea9c262f326cd1b7cecf3ea99911f5769f3353ed0d38e82222deb68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-3.4.7-pp37-pypy37_pp73-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ee77aa129f481be46f8d92a1a7db57269a2f23052d5f2433b4621bb457081cc9
MD5 9d641fc8675047bdd7d280a2de075d34
BLAKE2b-256 dd1a69949e0e66ed2e33d0448f832f1eb36574e298a91c295f5778bdb8f45cc1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.7-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.7-pp37-pypy37_pp73-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 7ec5d3b029f5fa2b179325908b9cd93db28ab7b85bb6c1db56b10e0b54235177
MD5 51839b51758966b089d59d674748201c
BLAKE2b-256 6f349deb86bd74e53ea7f3cf2f2647c8206540928aa819377433e5e4ed5d776b

See more details on using hashes here.

File details

Details for the file cryptography-3.4.7-pp37-pypy37_pp73-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: cryptography-3.4.7-pp37-pypy37_pp73-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: PyPy, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.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.7-pp37-pypy37_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 b01fd6f2737816cb1e08ed4807ae194404790eac7ad030b34f2ce72b332f5586
MD5 8448e80f768eec62e4246bf77257a554
BLAKE2b-256 a0463c4a9dd1472e6e0ad7d69477ee11df979675dd81ef77c57a80f67c666310

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-3.4.7-pp36-pypy36_pp73-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eb8cc2afe8b05acbd84a43905832ec78e7b3873fb124ca190f574dca7389a87d
MD5 c3c81ad622a055a52d493bd12c940064
BLAKE2b-256 879fa1876c8feff0229cb22115fb679d78b1ba3d2379220c010651e0506dbfa1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.7-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.7-pp36-pypy36_pp73-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 26965837447f9c82f1855e0bc8bc4fb910240b6e0d16a664bb722df3b5b06873
MD5 a185db343e0ef89a1dc1e01c954c4227
BLAKE2b-256 95dc2308bfd117b4b09ffdf1c412b57e7652bcf34b4f024cf79a80fbb2c68515

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.7-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.7-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 de4e5f7f68220d92b7637fc99847475b59154b7a1b3868fb7385337af54ac9ca
MD5 4ac946949ecb278b028c2fcf5d1cbc2b
BLAKE2b-256 24682ac7515449749444729304cc1f8ca2f51012264703047ff07d4ee2d87b22

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.7-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.7-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 0f1212a66329c80d68aeeb39b8a16d54ef57071bf22ff4e521657b27372e327d
MD5 c0b15a41a3b1ab64c7a6426367a5f0f6
BLAKE2b-256 2fbe91f1495687c2dab970abd95868d03aa65fd766d4dd4f2204df7e8af7f1ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.7-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.7-cp36-abi3-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1e056c28420c072c5e3cb36e2b23ee55e260cb04eee08f702e0edfec3fb51959
MD5 547689949d8d34ef2ac743714d3195f1
BLAKE2b-256 b2267af637e6a7e87258b963f1731c5982fb31cd507f0d90d91836e446955d02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.7-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.7-cp36-abi3-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 240f5c21aef0b73f40bb9f78d2caff73186700bf1bc6b94285699aff98cc16c6
MD5 3240e97d433f968ab471a682cbc078f2
BLAKE2b-256 1b026176adbe90b02ac9fcd96175deb1fd03c2739db3d2562eded328836dcacb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.7-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.7-cp36-abi3-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 37340614f8a5d2fb9aeea67fd159bfe4f5f4ed535b1090ce8ec428b2f15a11f2
MD5 37e6016ff0dd06e168d908ee800a071b
BLAKE2b-256 169daa507ddc5dc630b499d4905000b17448a969f0cdcdb9bbc2fe5e369a5fad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.7-cp36-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.9 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.7-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8e56e16617872b0957d1c9742a3f94b43533447fd78321514abbe7db216aa250
MD5 cd55873ce4a9aa985a0573efdc4244e1
BLAKE2b-256 de130631f30b7ae92bcdc50c7643beb2d230e7014295f854a30703450877b53a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.7-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.7-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 3d8427734c781ea5f1b41d6589c293089704d4759e34597dce91014ac125aad1
MD5 f5e574ea0e46b25157a29d09fc6e76b3
BLAKE2b-256 8a1db6ea7bf3ef251ff8ea0025cb952e898027097991c828140c8befd941e6fd

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