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.7+ and PyPy3 7.3.11+.

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.

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

Uploaded Source

Built Distributions

cryptography-43.0.0-pp310-pypy310_pp73-win_amd64.whl (3.0 MB view details)

Uploaded PyPy Windows x86-64

cryptography-43.0.0-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl (3.9 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-43.0.0-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl (3.7 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

cryptography-43.0.0-pp310-pypy310_pp73-macosx_10_9_x86_64.whl (3.2 MB view details)

Uploaded PyPy macOS 10.9+ x86-64

cryptography-43.0.0-pp39-pypy39_pp73-win_amd64.whl (3.0 MB view details)

Uploaded PyPy Windows x86-64

cryptography-43.0.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl (3.9 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-43.0.0-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl (3.7 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

cryptography-43.0.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (3.2 MB view details)

Uploaded PyPy macOS 10.9+ x86-64

cryptography-43.0.0-cp39-abi3-win_amd64.whl (3.1 MB view details)

Uploaded CPython 3.9+ Windows x86-64

cryptography-43.0.0-cp39-abi3-win32.whl (2.6 MB view details)

Uploaded CPython 3.9+ Windows x86

cryptography-43.0.0-cp39-abi3-musllinux_1_2_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.9+ musllinux: musl 1.2+ x86-64

cryptography-43.0.0-cp39-abi3-musllinux_1_2_aarch64.whl (3.9 MB view details)

Uploaded CPython 3.9+ musllinux: musl 1.2+ ARM64

cryptography-43.0.0-cp39-abi3-manylinux_2_28_x86_64.whl (4.0 MB view details)

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

cryptography-43.0.0-cp39-abi3-manylinux_2_28_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.9+ manylinux: glibc 2.28+ ARM64

cryptography-43.0.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.0 MB view details)

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

cryptography-43.0.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.9+ manylinux: glibc 2.17+ ARM64

cryptography-43.0.0-cp39-abi3-macosx_10_9_universal2.whl (6.2 MB view details)

Uploaded CPython 3.9+ macOS 10.9+ universal2 (ARM64, x86-64)

cryptography-43.0.0-cp37-abi3-win_amd64.whl (3.1 MB view details)

Uploaded CPython 3.7+ Windows x86-64

cryptography-43.0.0-cp37-abi3-win32.whl (2.6 MB view details)

Uploaded CPython 3.7+ Windows x86

cryptography-43.0.0-cp37-abi3-musllinux_1_2_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ x86-64

cryptography-43.0.0-cp37-abi3-musllinux_1_2_aarch64.whl (3.9 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ ARM64

cryptography-43.0.0-cp37-abi3-manylinux_2_28_x86_64.whl (4.0 MB view details)

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

cryptography-43.0.0-cp37-abi3-manylinux_2_28_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.28+ ARM64

cryptography-43.0.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.0 MB view details)

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

cryptography-43.0.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARM64

cryptography-43.0.0-cp37-abi3-macosx_10_9_universal2.whl (6.2 MB view details)

Uploaded CPython 3.7+ macOS 10.9+ universal2 (ARM64, x86-64)

File details

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

File metadata

  • Download URL: cryptography-43.0.0.tar.gz
  • Upload date:
  • Size: 686.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for cryptography-43.0.0.tar.gz
Algorithm Hash digest
SHA256 b88075ada2d51aa9f18283532c9f60e72170041bba88d7f37e49cbb10275299e
MD5 86f9bf334cee96e745ef7106151b883d
BLAKE2b-256 69ec9fb9dcf4f91f0e5e76de597256c43eedefd8423aa59be95c70c4c3db426a

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-pp310-pypy310_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 aae4d918f6b180a8ab8bf6511a419473d107df4dbb4225c7b48c5c9602c38c7f
MD5 b38b5bb8b1cc2e7b86547edc6a55a9e0
BLAKE2b-256 ca257b53082e4c373127c1fb190f70c5aca7bf7a03ac11f67ba15473bc6d9a0e

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 51956cf8730665e2bdf8ddb8da0056f699c1a5715648c1b0144670c1ba00b48f
MD5 7803fccd0fb65f47ca45c02b49dc940e
BLAKE2b-256 2ecec7b912d95f0ded80ad3b50a0a6b31de813c25d9ffadbe1b26bf22d2c4518

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 844b6d608374e7d08f4f6e6f9f7b951f9256db41421917dfb2d003dde4cd6b66
MD5 ae7be0e11f46f635f61e5a2bb10df627
BLAKE2b-256 17cdd43859b09d726a905d882b6e464ccf02aa2dca2c3e76c44a0c5b169f0144

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-pp310-pypy310_pp73-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-pp310-pypy310_pp73-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2c6d112bf61c5ef44042c253e4859b3cbbb50df2f78fa8fae6747a7814484a70
MD5 5aee28d826f7634cf8306c90d2f0e08e
BLAKE2b-256 c63a9c7d864bbcca2df77a601366a6ae3937cd78d0f21ad98441f3424592aea7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.0-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 e9c5266c432a1e23738d178e51c2c7a5e2ddf790f248be939448c0ba2021f9d1
MD5 821e4534383b7fc34e3b23fae7e62312
BLAKE2b-256 ae3564282489b9a1a49b79a5543124f24a34242d6daed30f0df7995564c01cf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 08a24a7070b2b6804c1940ff0f910ff728932a9d0e80e7814234269f9d46d069
MD5 932808b68ae8e059c26cb2e15f583b90
BLAKE2b-256 629ed8c84c24f5c42c7595e975101969009efc440259b59a0a9732cfd4fc4108

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5bcb8a5620008a8034d39bce21dc3e23735dfdb6a33a06974739bfa04f853947
MD5 1b16c7ba3470a3a173f2875d05caa02e
BLAKE2b-256 0eaafba13d5fcfeaa11dc57ff7b7357b4cc05529a94b29753097e31dde8bcb0d

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 232ce02943a579095a339ac4b390fbbe97f5b5d5d107f8a08260ea2768be8cc2
MD5 f6f9167b250ac7eabda46253e1837a91
BLAKE2b-256 ba2a1bf25f4fa1fd1d315e7ab429539850526b4fbaba0d2eba7813bec242ce6a

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0663585d02f76929792470451a5ba64424acc3cd5227b03921dab0e2f27b1709
MD5 46adf1d64d037a60e9c9ec2c383c8e72
BLAKE2b-256 e63d696e7a0f04555c58a2813d47aaa78cb5ba863c1f453c74a4f45ae772b054

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp39-abi3-win32.whl.

File metadata

  • Download URL: cryptography-43.0.0-cp39-abi3-win32.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.9+, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for cryptography-43.0.0-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 47ca71115e545954e6c1d207dd13461ab81f4eccfcb1345eac874828b5e3eaaf
MD5 848bcfd6b2667d73ed914806fc475886
BLAKE2b-256 ce6155560405e75432bdd9f6cf72fa516cab623b83a3f6d230791bc8fc4afeee

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp39-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2905ccf93a8a2a416f3ec01b1a7911c3fe4073ef35640e7ee5296754e30b762b
MD5 5f5b4dd58c3c2ee501bf72355f7929a6
BLAKE2b-256 bdf6e4387edb55563e2546028ba4c634522fe727693d3cdd9ec0ecacedc75411

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp39-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 fdcb265de28585de5b859ae13e3846a8e805268a823a12a4da2597f1f5afc9f0
MD5 c9a4f26452783c8ba0fc1472f64c2e82
BLAKE2b-256 f774028cea86db9315ba3f991e307adabf9f0aa15067011137c38b2fb2aa16eb

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp39-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cb013933d4c127349b3948aa8aaf2f12c0353ad0eccd715ca789c8a0f671646f
MD5 81594f4447141e3ee9859e1e9363e43f
BLAKE2b-256 0f6cb42660b3075ff543065b2c1c5a3d9bedaadcff8ebce2ee981be2babc2934

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp39-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-cp39-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ee0c405832ade84d4de74b9029bedb7b31200600fa524d218fc29bfa371e97f5
MD5 1ec485754edb77d32f7edfb38d39a38e
BLAKE2b-256 a36262770f34290ebb1b6542bd3f13b3b102875b90aed4804e296f8d2a5ac6d7

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 299d3da8e00b7e2b54bb02ef58d73cd5f55fb31f33ebbf33bd00d9aa6807df7e
MD5 99e09a75be2de468d3ff9923c4a1a825
BLAKE2b-256 76ebab783b47b3b9b55371b4361c7ec695144bde1a3343ff2b7a8c1d8fe617bb

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ac1955ce000cb29ab40def14fd1bbfa7af2017cca696ee696925615cafd0dce5
MD5 c0d47094309df52bfba845c3109088fd
BLAKE2b-256 58aa99b2c00a4f54c60d210d6d1759c720ecf28305aa32d6fb1bb1853f415be6

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp39-abi3-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-cp39-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 7b3f5fe74a5ca32d4d0f302ffe6680fcc5c28f8ef0dc0ae8f40c0f3a1b4fca66
MD5 b653b5115cab1d1e62df2ce508372c0d
BLAKE2b-256 66d7397515233e6a861f921bd0365b162b38e0cc513fcf4f1bdd9cc7bc5a3384

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 31e44a986ceccec3d0498e16f3d27b2ee5fdf69ce2ab89b52eaad1d2f33d8778
MD5 5ee4de656d822898bc44bf29d29c8550
BLAKE2b-256 f9b738924229e84c41b0e88d7a5eed8a29d05a44364f85fbb9ddb3984b746fd2

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp37-abi3-win32.whl.

File metadata

  • Download URL: cryptography-43.0.0-cp37-abi3-win32.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.7+, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for cryptography-43.0.0-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 6e2b11c55d260d03a8cf29ac9b5e0608d35f08077d8c087be96287f43af3ccdc
MD5 bab572865ca7aebc105878fd1ff0ba33
BLAKE2b-256 cdcdd165adcf3e707d6a049d44ade6ca89973549bed0ab3686fa49efdeefea53

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp37-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-cp37-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4a997df8c1c2aae1e1e5ac49c2e4f610ad037fc5a3aadc7b64e39dea42249431
MD5 748132a865bb57eda52c8a08a7b77eb6
BLAKE2b-256 5e64f41f42ddc9c583737c9df0093affb92c61de7d5b0d299bf644524afe31c1

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp37-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-cp37-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 cc70b4b581f28d0a254d006f26949245e3657d40d8857066c2ae22a61222ef55
MD5 ad7f2bfd6319e00b5194e7908323dc92
BLAKE2b-256 c7a21607f1295eb2c30fcf2c07d7fd0c3772d21dcdb827de2b2730b02df0af51

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp37-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-cp37-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9a8d6802e0825767476f62aafed40532bd435e8a5f7d23bd8b4f5fd04cc80ecf
MD5 534d2345a507b2d22e4e1474e9c6f52e
BLAKE2b-256 8325439a8ddd8058e7f898b7d27c36f94b66c8c8a2d60e1855d725845f4be0bc

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp37-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-cp37-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ea9e57f8ea880eeea38ab5abf9fbe39f923544d7884228ec67d666abd60f5a47
MD5 ba5e58d2d320cf680be63efb8afd9a1a
BLAKE2b-256 ae71e073795d0d1624847f323481f7d84855f699172a632aa37646464b0e1712

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3d9a1eca329405219b605fac09ecfc09ac09e595d6def650a437523fcd08dd22
MD5 5e27ed1bf7296ddbbe80f4ce1fb043e8
BLAKE2b-256 779d0b98c73cebfd41e4fb0439fe9ce08022e8d059f51caa7afc8934fc1edcd9

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3dcdedae5c7710b9f97ac6bba7e1052b95c7083c9d0e9df96e02a1932e777895
MD5 250175ee1cfd25d797b847bfc6000349
BLAKE2b-256 e823b0713319edff1d8633775b354f8b34a476e4dd5f4cd4b91e488baec3361a

See more details on using hashes here.

File details

Details for the file cryptography-43.0.0-cp37-abi3-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for cryptography-43.0.0-cp37-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 64c3f16e2a4fc51c0d06af28441881f98c5d91009b8caaff40cf3548089e9c74
MD5 8681bc4c8ece70e758fb3493aa0b7503
BLAKE2b-256 d346dcd2eb6840b9452e7fbc52720f3dc54a85eb41e68414733379e8f98e3275

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