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

Uploaded Source

Built Distributions

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

Uploaded PyPyWindows x86-64

cryptography-3.4.8-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl (2.3 MB view details)

Uploaded PyPymanylinux: glibc 2.24+ x86-64

cryptography-3.4.8-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

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

Uploaded PyPymanylinux: glibc 2.12+ x86-64

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

Uploaded PyPymacOS 10.10+ x86-64

cryptography-3.4.8-pp36-pypy36_pp73-manylinux_2_24_x86_64.whl (2.3 MB view details)

Uploaded PyPymanylinux: glibc 2.24+ x86-64

cryptography-3.4.8-pp36-pypy36_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

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

Uploaded PyPymanylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.6+Windows x86-64

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

Uploaded CPython 3.6+Windows x86

cryptography-3.4.8-cp36-abi3-musllinux_1_1_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.6+musllinux: musl 1.1+ x86-64

cryptography-3.4.8-cp36-abi3-musllinux_1_1_aarch64.whl (3.1 MB view details)

Uploaded CPython 3.6+musllinux: musl 1.1+ ARM64

cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl (3.0 MB view details)

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

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

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

cryptography-3.4.8-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.0 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

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

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

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

Uploaded CPython 3.6+macOS 11.0+ ARM64

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

File metadata

  • Download URL: cryptography-3.4.8.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.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.8.tar.gz
Algorithm Hash digest
SHA256 94cc5ed4ceaefcbe5bf38c8fba6a21fc1d365bb8fb826ea1688e3370b2e24a1c
MD5 e8b3e233556690acdc026b432a57c3fa
BLAKE2b-256 cc988a258ab4787e6f835d350639792527d2eb7946ff9fc0caca9c3f4cf5dcfe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.8-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.8-pp37-pypy37_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 cd65b60cfe004790c795cc35f272e41a3df4631e2fb6b35aa7ac6ef2859d554e
MD5 57470306f502db2b462ce111d4fe25e2
BLAKE2b-256 3523b7dc7a019e1a34b024498510686a6b6a400caf6ecd1c0ba102e27dd3658f

See more details on using hashes here.

File details

Details for the file cryptography-3.4.8-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl.

File metadata

  • Download URL: cryptography-3.4.8-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: PyPy, manylinux: glibc 2.24+ 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.8-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 8695456444f277af73a4877db9fc979849cd3ee74c198d04fc0776ebc3db52b9
MD5 601eca89346cd1e50f9e773f274ee0e0
BLAKE2b-256 d8e14bd5056f436b23f9059db1ff897ab3747fa7726a12c6ec96486386222b52

See more details on using hashes here.

File details

Details for the file cryptography-3.4.8-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-3.4.8-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 94fff993ee9bc1b2440d3b7243d488c6a3d9724cc2b09cdb297f6a886d040ef7
MD5 567cc52ae1d4f7a162728c829cb8a7f3
BLAKE2b-256 771b01aa2cacdba8c8debdd5a550dcc8f00fbef19d603d9ce5a2c26c2a133056

See more details on using hashes here.

File details

Details for the file cryptography-3.4.8-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-3.4.8-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5b0fbfae7ff7febdb74b574055c7466da334a5371f253732d7e2e7525d570498
MD5 8656024d513a70d4cc5d389025d17055
BLAKE2b-256 8b416eefbe046f7d49beeb17d3387e22cf8fc656c683ef4e08694b74834f82fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.8-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.8-pp37-pypy37_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 d9ec0e67a14f9d1d48dd87a2531009a9b251c02ea42851c060b25c782516ff06
MD5 fb1dcfe51ee6b41a40dded3b190be456
BLAKE2b-256 5107e7fd9090777196af438661b0c6471a0bab2e8697c26747b8f400b1715668

See more details on using hashes here.

File details

Details for the file cryptography-3.4.8-pp36-pypy36_pp73-manylinux_2_24_x86_64.whl.

File metadata

  • Download URL: cryptography-3.4.8-pp36-pypy36_pp73-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: PyPy, manylinux: glibc 2.24+ 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.8-pp36-pypy36_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 3fa3a7ccf96e826affdf1a0a9432be74dc73423125c8f96a909e3835a5ef194a
MD5 867c89d05d42abe339b12dd57e5862c7
BLAKE2b-256 3a5ed1dd6b855faf06f34b02813aa451130f10762df8d2539632b022d047b983

See more details on using hashes here.

File details

Details for the file cryptography-3.4.8-pp36-pypy36_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-3.4.8-pp36-pypy36_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a305600e7a6b7b855cd798e00278161b681ad6e9b7eca94c721d5f588ab212af
MD5 05b6135acecfec4da9aaf5958e84b70d
BLAKE2b-256 83ab2b7e7176e8cd38299f246402ce2560d079c824cf7d5a300917d1fb5ccc80

See more details on using hashes here.

File details

Details for the file cryptography-3.4.8-pp36-pypy36_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-3.4.8-pp36-pypy36_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d2a6e5ef66503da51d2110edf6c403dc6b494cc0082f85db12f54e9c5d4c3ec5
MD5 e11434d2560d8c0cd51151e2b5aa2ecc
BLAKE2b-256 0cf807910ba71b50b276bce8eb6d5bdf87b37dd7d8467e9c5af62f488642a9b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.8-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.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.8-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3520667fda779eb788ea00080124875be18f2d8f0848ec00733c0ec3bb8219fc
MD5 144414614daf3d17f203731c04d0e65a
BLAKE2b-256 b632e82e51a64280b16647af538bbfe4424285a41f01687899405e997a6e39b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.8-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.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.8-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 21ca464b3a4b8d8e86ba0ee5045e103a1fcfac3b39319727bc0fc58c09c6aff7
MD5 49a260c24f4dd279474e8737d200e048
BLAKE2b-256 0327e2ccbfcdaa6768110676bfdc60012322e0d09b83227d52b25a89cb6e2914

See more details on using hashes here.

File details

Details for the file cryptography-3.4.8-cp36-abi3-musllinux_1_1_x86_64.whl.

File metadata

  • Download URL: cryptography-3.4.8-cp36-abi3-musllinux_1_1_x86_64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.6+, musllinux: musl 1.1+ 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.8-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 695104a9223a7239d155d7627ad912953b540929ef97ae0c34c7b8bf30857e89
MD5 2994492a11cc4e7297907ed751193f0b
BLAKE2b-256 d70501b2482b88edc0ad8f99bbf763dd34895c71f0a87ce61e89813eba481187

See more details on using hashes here.

File details

Details for the file cryptography-3.4.8-cp36-abi3-musllinux_1_1_aarch64.whl.

File metadata

  • Download URL: cryptography-3.4.8-cp36-abi3-musllinux_1_1_aarch64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.6+, musllinux: musl 1.1+ ARM64
  • 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.8-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 3c4129fc3fdc0fa8e40861b5ac0c673315b3c902bbdc05fc176764815b43dd1d
MD5 da489c2c2fca3a3ea4bda191a91c79b0
BLAKE2b-256 316b12678b9f4aade4cdd322d2366421cb9bca978d82a4b2ad556f7dd80811ed

See more details on using hashes here.

File details

Details for the file cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl.

File metadata

  • Download URL: cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.24+ 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.8-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 9965c46c674ba8cc572bc09a03f4c649292ee73e1b683adb1ce81e82e9a6a0fb
MD5 431bc7573115d66d7514cc37db6885d5
BLAKE2b-256 177ecec41c164b42db6364b10e13d218c40e604cc6745448b9fcd9318f2d9556

See more details on using hashes here.

File details

Details for the file cryptography-3.4.8-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-3.4.8-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1eb7bb0df6f6f583dd8e054689def236255161ebbcf62b226454ab9ec663746b
MD5 8897c87f6327571803bfb981cbe6bc88
BLAKE2b-256 96074d23f8e34e56d8eeb2c37cd5924928a01c3dd756a1d99e470181bc57551e

See more details on using hashes here.

File details

Details for the file cryptography-3.4.8-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-3.4.8-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 34dae04a0dce5730d8eb7894eab617d8a70d0c97da76b905de9efb7128ad7085
MD5 b1cacab4c378aed5aa50e41c0da872fc
BLAKE2b-256 f52ea61d992645593be442b2666252f5d2fceb0777dfd2675a75d8914a353cd3

See more details on using hashes here.

File details

Details for the file cryptography-3.4.8-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-3.4.8-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 0a7dcbcd3f1913f664aca35d47c1331fce738d44ec34b7be8b9d332151b0b01e
MD5 30936594895cd8709cb075e54e5dfd16
BLAKE2b-256 28d435dc171f470704403e35d639b1b4ad38f6a6e07c39aab2fad9437b88d4c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.8-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.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.8-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f44d141b8c4ea5eb4dbc9b3ad992d45580c1d22bf5e24363f2fbf50c2d7ae8a7
MD5 fea89817081d54250ee6e53740583d24
BLAKE2b-256 7dd141c840255bd2b416e3653f4fef31224ba87576cc6b75b791de5c752126cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.4.8-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.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.8-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 a00cf305f07b26c351d8d4e1af84ad7501eca8a342dedf24a7acb0e7b7406e14
MD5 7d9aca2013ac63527bb3a18359185872
BLAKE2b-256 00e4da1509e64a92e32ec8df97f5c4372e7f0e56b5b0bad299da61a9632b900c

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