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
b'...'
>>> f.decrypt(token)
b'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-39.0.0.tar.gz (603.4 kB view details)

Uploaded Source

Built Distributions

cryptography-39.0.0-pp39-pypy39_pp73-win_amd64.whl (2.4 MB view details)

Uploaded PyPy Windows x86-64

cryptography-39.0.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl (3.5 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

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

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-39.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-39.0.0-pp39-pypy39_pp73-macosx_10_12_x86_64.whl (2.7 MB view details)

Uploaded PyPy macOS 10.12+ x86-64

cryptography-39.0.0-pp38-pypy38_pp73-win_amd64.whl (2.4 MB view details)

Uploaded PyPy Windows x86-64

cryptography-39.0.0-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl (3.5 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

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

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-39.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-39.0.0-pp38-pypy38_pp73-macosx_10_12_x86_64.whl (2.7 MB view details)

Uploaded PyPy macOS 10.12+ x86-64

cryptography-39.0.0-cp36-abi3-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.6+ Windows x86-64

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

Uploaded CPython 3.6+ Windows x86

cryptography-39.0.0-cp36-abi3-musllinux_1_1_x86_64.whl (4.3 MB view details)

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

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

Uploaded CPython 3.6+ musllinux: musl 1.1+ ARM64

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

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

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

Uploaded CPython 3.6+ manylinux: glibc 2.28+ ARM64

cryptography-39.0.0-cp36-abi3-manylinux_2_24_x86_64.whl (4.1 MB view details)

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

cryptography-39.0.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view details)

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

cryptography-39.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-39.0.0-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-39.0.0-cp36-abi3-macosx_10_12_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.6+ macOS 10.12+ x86-64

cryptography-39.0.0-cp36-abi3-macosx_10_12_universal2.whl (5.4 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for cryptography-39.0.0.tar.gz
Algorithm Hash digest
SHA256 f964c7dcf7802d133e8dbd1565914fa0194f9d683d82411989889ecd701e8adf
MD5 12d0c6df42f600637a97904f84988ae2
BLAKE2b-256 12e3c46c274cf466b24e5d44df5d5cd31a31ff23e57f074a2bb30931a8c9b01a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 e0a05aee6a82d944f9b4edd6a001178787d1546ec7c6223ee9a848a7ade92e39
MD5 811c4259b939b3ed465a227419b88c11
BLAKE2b-256 437d0d0756853ad357b7f12d63595a8aac66d255ea68061e3c1983f4cfebc73b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 844ad4d7c3850081dffba91cdd91950038ee4ac525c575509a42d3fc806b83c8
MD5 daf38218b229ea9798f9f0699e772648
BLAKE2b-256 dc052cee803d6b83fef95229f9864646ba399f1ebda03333e34c2ddee210aaa1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 e5d71c5d5bd5b5c3eebcf7c5c2bb332d62ec68921a8c593bea8c394911a005ce
MD5 d9e146207456e89819b132b32bf7603a
BLAKE2b-256 413f8b3676edb61a9d2dc0e78ba9d450ebb75d958f70ed3dea9cb143262c8406

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 50386acb40fbabbceeb2986332f0287f50f29ccf1497bae31cf5c3e7b4f4b34f
MD5 53fa624c7e51f50b89f59551a7714f6f
BLAKE2b-256 fa3152ccfb7147564fefe83fdbbebc9dbd4c6749663c019a053ab2c83469c47a

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-39.0.0-pp39-pypy39_pp73-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.0-pp39-pypy39_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ad04f413436b0781f20c52a661660f1e23bcd89a0e9bb1d6d20822d048cf2856
MD5 4bb5498f2ddc99dd106633a83645a334
BLAKE2b-256 fd59bacaaed27787b87b660b7de016e1034a9bf2aaf5031d2b7d085cd83413f3

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 7dacfdeee048814563eaaec7c4743c8aea529fe3dd53127313a792f0dadc1773
MD5 01b177ed61c139549bc68828ec5b404f
BLAKE2b-256 54345669347a730ba5f02b89499f03acf4563123fb98b27546d1fadcccf34564

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 407cec680e811b4fc829de966f88a7c62a596faa250fc1a4b520a0355b9bc190
MD5 2b778bda1c1b69d9137b343bfb24a1b5
BLAKE2b-256 b3f6ee2cd6c13d62ecd4f93722327b5f79808d4a243d6d86e6c1058fe361dc68

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 fec8b932f51ae245121c4671b4bbc030880f363354b2f0e0bd1366017d891458
MD5 36c556139031bce049e1e2dd0b00044e
BLAKE2b-256 ee9ff9f4e4410e1945550883bc07afc32986dc1e5d59bc327aff88f0ddbf0fb7

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1ee1fd0de9851ff32dbbb9362a4d833b579b4a6cc96883e8e6d2ff2a6bc7104f
MD5 05209392376da7d4912eb4ea01984931
BLAKE2b-256 d08a5c567f8a6f12966c46d6f884d259ddf4f8ae908272e8c7c0807a53cdc255

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-39.0.0-pp38-pypy38_pp73-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.0-pp38-pypy38_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 754978da4d0457e7ca176f58c57b1f9de6556591c19b25b8bcce3c77d314f5eb
MD5 31eea0fed0f9d9a25d0eaa129bbc1269
BLAKE2b-256 e59eed757a5244649d3400d62967d247af10e85d804882ba56fdf164c3f0c575

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e324de6972b151f99dc078defe8fb1b0a82c6498e37bff335f5bc6b1e3ab5a1e
MD5 9920d7fbed21a6a0c891e13f2e73a3f3
BLAKE2b-256 440a4170788974aef7baf5eab77947246887c64a0a2c371f769f79259835af89

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 f671c1bb0d6088e94d61d80c606d65baacc0d374e67bf895148883461cd848de
MD5 681452716ba986fb89b10a473b3dcc1e
BLAKE2b-256 06b16b6f8dccd1432a6a998e92f75ff235b0f69e8a8c509b5739d673ea2ba548

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 f3ed2d864a2fa1666e749fe52fb8e23d8e06b8012e8bd8147c73797c506e86f1
MD5 bd434a25c89b977d74c8a587c1f51103
BLAKE2b-256 2d627c62efcb4a1b1905ad16476f9dcb55a2913bf4dd0049a083390a622901c8

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 f6c0db08d81ead9576c4d94bbb27aed8d7a430fa27890f39084c2d0e2ec6b0df
MD5 f0a007b0afbb348d19cb2e769bae92ee
BLAKE2b-256 b4681857c44826171a995e65a11d4b507cd0aa0bace926c2842d7252d8b1dcca

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-cp36-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 875aea1039d78557c7c6b4db2fe0e9d2413439f4676310a5f269dd342ca7a717
MD5 69c549a6a7b111f15bfad6dbe713bc57
BLAKE2b-256 34b33011b5f6c5cc935113fc58f8b07d42fcdd03e7a76b1c3c8ba27d276e8833

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-cp36-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bae6c7f4a36a25291b619ad064a30a07110a805d08dc89984f4f441f6c1f3f96
MD5 fa35c944964b5f8b1d0c6879108e8028
BLAKE2b-256 4e9e102aae84e2f1c4733ab76fd311d0b4612699daaba04a3a872567274dc211

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 76c24dd4fd196a80f9f2f5405a778a8ca132f16b10af113474005635fe7e066c
MD5 b36accef313e2a3637e980a8ee10819d
BLAKE2b-256 fcb23b946e24de214fc49adeefeea6214bcbc4bce2bd745877f074d1dd13c9a2

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1a6915075c6d3a5e1215eab5d99bcec0da26036ff2102a1038401d6ef5bef25b
MD5 16571f6085127885160e7e3c5d51e360
BLAKE2b-256 7a468b58d6b8244ff613ecb983b9428d1168dd0b014a34e13fb19737b9ba1fc1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6f97109336df5c178ee7c9c711b264c502b905c2d2a29ace99ed761533a3460f
MD5 804b6ea38e0ebfcdc838f4fd24d7da2a
BLAKE2b-256 0d5cb83623ce6e7d6653d858d5c85916217bb1e66a4c7a2da7051588fd5d9e0a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 887cbc1ea60786e534b00ba8b04d1095f4272d380ebd5f7a7eb4cc274710fad9
MD5 b484fcdcad0cf50433ce46437d056400
BLAKE2b-256 2e901fffa1dd2e0894cdd8ef33b7d95de7c4d6de5fb77fb23cd21b24b069047e

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-39.0.0-cp36-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.0-cp36-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 80ee674c08aaef194bc4627b7f2956e5ba7ef29c3cc3ca488cf15854838a8f72
MD5 cd133aeee986cdb51dfb9b65a400559a
BLAKE2b-256 13567ebf13cfd85f2948480a45937bcc43d6f01edfde99dab47443e72aed564a

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-39.0.0-cp36-abi3-macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for cryptography-39.0.0-cp36-abi3-macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 c52a1a6f81e738d07f43dab57831c29e57d21c81a942f4602fac7ee21b27f288
MD5 97f8daffa4c469f720783da9a4ecbbca
BLAKE2b-256 7823ca3a4d7cb681fb4b7f9a088e7392f0aa2c1a51017a8a23fff377bb155af7

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