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=main

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 #pyca on irc.libera.chat to ask questions or get involved.

Security

Need to report a security issue? Please consult our security reporting documentation.

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

Uploaded Source

Built Distributions

cryptography-38.0.1-pp39-pypy39_pp73-win_amd64.whl (2.3 MB view details)

Uploaded PyPy Windows x86-64

cryptography-38.0.1-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-38.0.1-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl (3.5 MB view details)

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-38.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

cryptography-38.0.1-pp39-pypy39_pp73-macosx_10_10_x86_64.whl (2.7 MB view details)

Uploaded PyPy macOS 10.10+ x86-64

cryptography-38.0.1-pp38-pypy38_pp73-win_amd64.whl (2.3 MB view details)

Uploaded PyPy Windows x86-64

cryptography-38.0.1-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-38.0.1-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl (3.5 MB view details)

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-38.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

cryptography-38.0.1-pp38-pypy38_pp73-macosx_10_10_x86_64.whl (2.7 MB view details)

Uploaded PyPy macOS 10.10+ x86-64

cryptography-38.0.1-pp37-pypy37_pp73-manylinux_2_28_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-38.0.1-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl (3.5 MB view details)

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-38.0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

cryptography-38.0.1-cp36-abi3-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.6+ Windows x86-64

cryptography-38.0.1-cp36-abi3-win32.whl (2.1 MB view details)

Uploaded CPython 3.6+ Windows x86

cryptography-38.0.1-cp36-abi3-musllinux_1_1_x86_64.whl (4.2 MB view details)

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

cryptography-38.0.1-cp36-abi3-musllinux_1_1_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.6+ musllinux: musl 1.1+ ARM64

cryptography-38.0.1-cp36-abi3-manylinux_2_28_x86_64.whl (4.2 MB view details)

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

cryptography-38.0.1-cp36-abi3-manylinux_2_28_aarch64.whl (4.0 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.28+ ARM64

cryptography-38.0.1-cp36-abi3-manylinux_2_24_x86_64.whl (4.0 MB view details)

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

cryptography-38.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB view details)

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

cryptography-38.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.0 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64

cryptography-38.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (3.7 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64 manylinux: glibc 2.24+ ARM64

cryptography-38.0.1-cp36-abi3-macosx_10_10_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.6+ macOS 10.10+ x86-64

cryptography-38.0.1-cp36-abi3-macosx_10_10_universal2.whl (5.3 MB view details)

Uploaded CPython 3.6+ macOS 10.10+ universal2 (ARM64, x86-64)

File details

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

File metadata

  • Download URL: cryptography-38.0.1.tar.gz
  • Upload date:
  • Size: 599.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.1

File hashes

Hashes for cryptography-38.0.1.tar.gz
Algorithm Hash digest
SHA256 1db3d807a14931fa317f96435695d9ec386be7b84b618cc61cfa5d08b0ae33d7
MD5 c47299bca4309cdda29626b0046d9229
BLAKE2b-256 6d0c5e67831007ba6cd7e52c4095f053cf45c357739b0a7c46a45ddd50049019

See more details on using hashes here.

File details

Details for the file cryptography-38.0.1-pp39-pypy39_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.1-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 52e7bee800ec869b4031093875279f1ff2ed12c1e2f74923e8f49c916afd1d3b
MD5 b46c60192087b1de3b54b9151f4a8982
BLAKE2b-256 6ec19ef25814e24a5bcab8d11f8a23ad9bff7f83d168b98c60b5ba820c93fc7a

See more details on using hashes here.

File details

Details for the file cryptography-38.0.1-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.1-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 765fa194a0f3372d83005ab83ab35d7c5526c4e22951e46059b8ac678b44fa5a
MD5 539b74820e7ff31478ab7faf2de73ba2
BLAKE2b-256 1ff8e0134faeb520d59a318f9d1b2eda1e512f94f7ed91c9de8c5c4b871952a7

See more details on using hashes here.

File details

Details for the file cryptography-38.0.1-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.1-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 d1a5bd52d684e49a36582193e0b89ff267704cd4025abefb9e26803adeb3e5fb
MD5 aedcdd6a5222fb3ef373c40690dd8e34
BLAKE2b-256 15c3f05af95d10abfb66c67ebb52b514642bc4b4b7086c79e4120bb3c38fd163

See more details on using hashes here.

File details

Details for the file cryptography-38.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b0163a849b6f315bf52815e238bc2b2346604413fa7c1601eea84bcddb5fb9ac
MD5 fccd6aa1325a996bca42a4cec23d905c
BLAKE2b-256 e20f02b3189194153f39bdffb29556efed6d99ba07fd462dce18a597717d26dd

See more details on using hashes here.

File details

Details for the file cryptography-38.0.1-pp39-pypy39_pp73-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.1-pp39-pypy39_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 b6c9b706316d7b5a137c35e14f4103e2115b088c412140fdbd5f87c73284df61
MD5 a844210bf8d91174278b52e3e9652c35
BLAKE2b-256 4dc8dee35b4f37c5803e765cb84db4d0fcfde7ca13ab69a0f4ee92d2b4138bf8

See more details on using hashes here.

File details

Details for the file cryptography-38.0.1-pp38-pypy38_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.1-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 64760ba5331e3f1794d0bcaabc0d0c39e8c60bf67d09c93dc0e54189dfd7cfe5
MD5 bd98203b6d775acba43db4ac9014bab6
BLAKE2b-256 22d0ba310f6338d7241960ded6c11bb494b4842d73c5987253b06c86ca83a868

See more details on using hashes here.

File details

Details for the file cryptography-38.0.1-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.1-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c2e5856248a416767322c8668ef1845ad46ee62629266f84a8f007a317141013
MD5 8dcaf1098271109c1662780fa2f75395
BLAKE2b-256 306a80048151a60e180ea0c37988fe76e4b27b7d9510deb5cfe7f096b53249cb

See more details on using hashes here.

File details

Details for the file cryptography-38.0.1-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.1-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 3e3a2599e640927089f932295a9a247fc40a5bdf69b0484532f530471a382750
MD5 5a6cb51d64c4f14c0c961be18c6fa52c
BLAKE2b-256 c338d6dde48b4e2477d98b9e1b1a1c811463caa7a5806cd0bd0455da3c6b7f75

See more details on using hashes here.

File details

Details for the file cryptography-38.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5067ee7f2bce36b11d0e334abcd1ccf8c541fc0bbdaf57cdd511fdee53e879b6
MD5 3849778d1fe1f3b5514e896e657c7707
BLAKE2b-256 c1bad72cf1fb3e19b9ffb6b477d9f4a9abf13e0095495288e0164f5bfa3e85d0

See more details on using hashes here.

File details

Details for the file cryptography-38.0.1-pp38-pypy38_pp73-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.1-pp38-pypy38_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 d9e69ae01f99abe6ad646947bba8941e896cb3aa805be2597a0400e0764b5818
MD5 4832a831874474c653c932b5dadaed9a
BLAKE2b-256 1b3118b0fb9826149a0bb19ae98bac796ef69bc2e5b33f3813bd3c674f6c48ae

See more details on using hashes here.

File details

Details for the file cryptography-38.0.1-pp37-pypy37_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.1-pp37-pypy37_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 79473cf8a5cbc471979bd9378c9f425384980fcf2ab6534b18ed7d0d9843987d
MD5 1b609707288cec5eaa69036e28746f92
BLAKE2b-256 b5dbf631e8a86e90803192d60f6a6d61a5855aac60711f270472be9727722498

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.1-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 d3971e2749a723e9084dd507584e2a2761f78ad2c638aa31e80bc7a15c9db4f9
MD5 063426db76c5317e733087ae1924b69e
BLAKE2b-256 8808ca17af5cbf19b66063e06a23172804c142b64c9405e6d8c647e2f4e62448

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 896dd3a66959d3a5ddcfc140a53391f69ff1e8f25d93f0e2e7830c6de90ceb9d
MD5 7a42c069918a40d0fedbf86a6200bc89
BLAKE2b-256 822449abfcb8b886159c92a647f28f29b50c467538fe0f6610ef110a262ae17a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.1-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ad7353f6ddf285aeadfaf79e5a6829110106ff8189391704c1d8801aa0bae45a
MD5 5fc1f52a0d9c360559cdca2d51803917
BLAKE2b-256 cdece44ce2d0b787e4aa437f5cdae4583c2d673c5c2dba3c4ae6d3b088b89bfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.1-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 ac7e48f7e7261207d750fa7e55eac2d45f720027d5703cd9007e9b37bbb59ac0
MD5 056b8ff3b4507567a589cf4287b622f4
BLAKE2b-256 15e60f8365582b130cbd1f1e7f1f901ac817f483b28417ae4d51f41d47c5addf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.1-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 89ed49784ba88c221756ff4d4755dbc03b3c8d2c5103f6d6b4f83a0fb1e85294
MD5 9259e423a46038b8b45bdb016adda31c
BLAKE2b-256 da81330bf2ac32feb234096bfdebaae53888e95de8af01b88b6f477156569401

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.1-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 0297ffc478bdd237f5ca3a7dc96fc0d315670bfa099c04dc3a4a2172008a405a
MD5 c2fe4ab03839050ee5e1c154c94c3f78
BLAKE2b-256 c9e79c7b7e8caef887a319e6492a30559c5136e305aae5885a8193c3a4e1dec6

See more details on using hashes here.

File details

Details for the file cryptography-38.0.1-cp36-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.1-cp36-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3261725c0ef84e7592597606f6583385fed2a5ec3909f43bc475ade9729a41d6
MD5 27cbb41876d7619c282a99756bc43d8c
BLAKE2b-256 d2422b5be637a08a0d83057bbce4c2cd904271a6b2fb46b6cd4abcb6f2df222c

See more details on using hashes here.

File details

Details for the file cryptography-38.0.1-cp36-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.1-cp36-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d4ef6cc305394ed669d4d9eebf10d3a101059bdcf2669c366ec1d14e4fb227bd
MD5 10cdc83929e37285e6849b4db8885b9d
BLAKE2b-256 97ffd93aa93fe9052b1ab235eead370165387ff5057f961dd2798175243d47e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.1-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 16fa61e7481f4b77ef53991075de29fc5bacb582a1244046d2e8b4bb72ef66d0
MD5 bd211f338e15b47f218cd8a8200946ca
BLAKE2b-256 9b4ed7454551c3c7b327510e35d88db35c300484225ba47be861e28f0b520b33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ca9f6784ea96b55ff41708b92c3f6aeaebde4c560308e5fbbd3173fbc466e94e
MD5 f0f2cedafc62cecca9be08513b761c76
BLAKE2b-256 1ce51deb15c5c38bf0826c85e480cc05402553427663db9ae45e63ee3b06ba4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 194044c6b89a2f9f169df475cc167f6157eb9151cc69af8a2a163481d45cc407
MD5 468c42778eca2bcfdf960e2cc889328f
BLAKE2b-256 a3bc37f2744e2a3c77c964ac1cf7dd651d289020d3b476603c3c18e50d5f2371

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 3b72c360427889b40f36dc214630e688c2fe03e16c162ef0aa41da7ab1455153
MD5 f12d3bf9b16a17421ea54c2962f7e237
BLAKE2b-256 d494a3e3c06b318453a5943e6dfc84102248d27629d5ba037b3056ae3dae98af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.1-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 3fc26e22840b77326a764ceb5f02ca2d342305fba08f002a8c1f139540cdfaad
MD5 688f14ee2da9d202868b49de3375a1f9
BLAKE2b-256 4b25c995d4269baceab3288c89f74cb08788a973f8f293758934387ebacdef08

See more details on using hashes here.

File details

Details for the file cryptography-38.0.1-cp36-abi3-macosx_10_10_universal2.whl.

File metadata

File hashes

Hashes for cryptography-38.0.1-cp36-abi3-macosx_10_10_universal2.whl
Algorithm Hash digest
SHA256 10d1f29d6292fc95acb597bacefd5b9e812099d75a6469004fd38ba5471a977f
MD5 c344c60e87eb590afcf8227b46903d58
BLAKE2b-256 c2f55ca3e00f8131b2d6d70cd5fc54079c7e5c3a2c28f863bd3980bf4d6b970f

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