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 https://codecov.io/github/pyca/cryptography/coverage.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-37.0.0.tar.gz (584.4 kB view details)

Uploaded Source

Built Distributions

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

Uploaded PyPy Windows x86-64

cryptography-37.0.0-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-37.0.0-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-37.0.0-pp39-pypy39_pp73-macosx_10_10_x86_64.whl (2.7 MB view details)

Uploaded PyPy macOS 10.10+ x86-64

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

Uploaded PyPy Windows x86-64

cryptography-37.0.0-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-37.0.0-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-37.0.0-pp38-pypy38_pp73-macosx_10_10_x86_64.whl (2.7 MB view details)

Uploaded PyPy macOS 10.10+ x86-64

cryptography-37.0.0-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-37.0.0-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-37.0.0-cp36-abi3-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.6+ Windows x86-64

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

Uploaded CPython 3.6+ Windows x86

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

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

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

Uploaded CPython 3.6+ musllinux: musl 1.1+ ARM64

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

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

cryptography-37.0.0-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-37.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.0 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64

cryptography-37.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (3.6 MB view details)

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

cryptography-37.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (4.0 MB view details)

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

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

Uploaded CPython 3.6+ macOS 10.10+ x86-64

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

File metadata

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

File hashes

Hashes for cryptography-37.0.0.tar.gz
Algorithm Hash digest
SHA256 5a761fc1ff0eae360a80656bea462c3163dfaa8093b2fa0f72af929217b14a97
MD5 9c255e59228382ce52fd0c44289c6cd2
BLAKE2b-256 d788067fcf5fd8db191b9e617bcc0effa1caacfc96acca987724535129aff487

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 cab59c774125596fa72f1decc5805894313b40f370a7c75597e37f0211027944
MD5 9f1ee9358e15c7b38b4afe96a932e8af
BLAKE2b-256 f2650971bca901c5d0f7cc2345790b28a95646780475c4d425003df1df12f951

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 0234bdb18620ed16bf186f0591aea0bbc321ecaf59c859d5f5cbe7b646d8377e
MD5 05fb4cc04c176309ede6476b71c8d17c
BLAKE2b-256 1079bcb5c91364c88acfaa6951e1687ed75038bd97ad8c6eada4b02e06336404

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8921428ca6403d7eb52ee0e728e8b02601060a5791f6d64c8a3a12b5722064af
MD5 6633d851f2f7ffaef997a1cdde3a0049
BLAKE2b-256 72499e545aef7d9fa98169949a0cda33f0e2e446ba5f1009f80882f2ba2d194a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-pp39-pypy39_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 5c2517a2c58213ee62b36ee9ece4a710179ddb07db90e31d7619e7ea472c9dc3
MD5 6e623bc98ef8b077027fa74bcf70dfff
BLAKE2b-256 fb5025c753521acc4194b44846b57b0d023671dcf967edd76da341968d0d1fa0

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 eee79c6c16949ed817c8cf288e6e124c4b8996e3312d9e7884c71cf9bdda212e
MD5 49e90e2731d8a85dfbf359215467b642
BLAKE2b-256 af19d3d9d46c35b0b19cbb2e1b6e4083dbbdb5275c818e15a86b40e20d82f4c0

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 e86734f28656f6fd5993ab32bd2d2680c3b8341d6f875faf5212bc78715db2a4
MD5 b36e3bceee9ec75dd8ab7ebe2dceeedc
BLAKE2b-256 791b8da9f0f77073a02fa89087eb7f0246b6a61b346cc3745534d351f4822521

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4c52cb32ea0b9798234823d37c93cab8004c574b2d224f048cd5829d0639387b
MD5 013eccba88536721f7c54d44f57b662c
BLAKE2b-256 b633081b4b5e2bb278cd1aff1aabc2081b91e4f20def10c109971af6b1cb2ded

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-pp38-pypy38_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 1af4f31870ef2180aba1c04f6d957461a570c8cabcc4b5ac7fabf2b4a0364ea0
MD5 e452b74cacb9a289bdf007b327e85d3d
BLAKE2b-256 1b3df4f7764ebc4c06945cd4b277feaa78dbc340376f80b6392834c5a1c68b58

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 d119feb387ce2df9bfb92e5785df9094325cfa974e2e6aa08c8e4a8b56786afe
MD5 58264f45fbe6cf30b1e8c7c05e290dd3
BLAKE2b-256 2bd289fef19695bf32a06a6323beb7f442ecbab2c2ef8c084bd721d38f8cbb84

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bf893131cd79dc8eaf4940b3aa2f4a68eba050471f5deacfaedea6aab04f574f
MD5 d0f7eeaecd9e3c052ed4acb3f14d2080
BLAKE2b-256 f08dba03c60c726eb14de4c0b516c02a3830f2b97fd31f3ec365ac19f6d59049

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 710b9041fb97cc576e288b5f96583578ed352dd60608a402045405c388522b94
MD5 53f34836afede0100a06e00c8ff6ae9f
BLAKE2b-256 6d6aa156081235bc399302344669f66369018665431e6ab93f4ab0a43fd6eaae

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cryptography-37.0.0-cp36-abi3-win32.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.6+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.1

File hashes

Hashes for cryptography-37.0.0-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 2d3d8a69d262ba27923466194bef637150aef286b11b160e087992206ac32f0c
MD5 d03120664c91f624eab749541bbf58c5
BLAKE2b-256 7675a00fea8edc2bc717fe964ebab954edceabea5e9946fab94d3c594b4ff6a4

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 2dfd682771c04c7e85a4b4ea6aa1682a3fd6f4d9845468fa6ba512b80a560a8d
MD5 851732aefc76b4681238dd426a4bee6d
BLAKE2b-256 45223384da4dacdd6d761da9229821155a9fed27d3f5f2e50daaae02f3a0853c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 183d6a540659c6a729c08971f09f3fb1044c89dd5af9d6f18da824a071f5445d
MD5 86e805d91bea056ae0274596caf881f0
BLAKE2b-256 137cf7a837dfd09547a186347f8999e93394bc972e7fe2274c53bf972bbfa1ab

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 bc54780dd8f7236874ac29fc155c5cf811f7d910e5f0575932a38bdaac3b5146
MD5 1200ea1e68eb9959da5df571fab269d8
BLAKE2b-256 fb12ed7aed6d59dbb3886fd14d3423ec9730f6a68e9d1271160732b1d9738046

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 57273f69b334c6d30f4d27abc7fb9c919ef4c6193af64420572808302bb45768
MD5 cf4113f27a7d0edce080e9c7e2841a64
BLAKE2b-256 b555621a5a66e78e981b1bddd8cf9ca072e8640b462b5e975266734c1aa81a28

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d426093df7f00de859bad45d6a09fdab9b8e4c6e46ea897dd0a302b94c7f6871
MD5 ef30812146a33086edc0409d6992c150
BLAKE2b-256 0ff09f9caf0fec45ca2d5fe1abe2b06d631e0305887ef2714df5c4a8875238ca

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 db1b9516e3072e0342287e06779bec84118bd780f794c8c07bd5da142a526103
MD5 2e9168038a73df6c10db4956582a48d7
BLAKE2b-256 1a501b5953c4509fdd2511c81a21f2ab15b3b6ce0e6e38f4f3e63a98a8600554

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ebdc9c4b3577bb76b0defebe4ef8b866da5228a1c53fbbf394b7677fe292fee9
MD5 b437385bcd1047a2b72362fc2ae551b8
BLAKE2b-256 f8c03faaed4df2420c6c77536286a19fe778d2d3c4848200d23c8a1e33776d65

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 d886b2c9f8d1ab0916673bc3c89dd04fc6e6591861872c9f08402b0ab2843b82
MD5 f97a46707fc32a9072325d1766ec34cc
BLAKE2b-256 c5d2659f500114731848c6427da3e26d247b0e517ad1893fde6f7bd65e94e940

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.0-cp36-abi3-macosx_10_10_universal2.whl
Algorithm Hash digest
SHA256 d97479d943d549d4a78f044b0620a7d349191ed40933ffabff1cc5875e20682c
MD5 b751fe370395b38c0558792788eb89e5
BLAKE2b-256 9e646269c501b7e9ee30df6b4da22dae29c4725eab6a52371c4463154c9e216c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page