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

Uploaded Source

Built Distributions

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

Uploaded PyPy Windows x86-64

cryptography-43.0.1-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.1-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl (3.7 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

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

Uploaded PyPy macOS 10.9+ x86-64

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

Uploaded PyPy Windows x86-64

cryptography-43.0.1-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.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl (3.7 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

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

Uploaded PyPy macOS 10.9+ x86-64

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

Uploaded CPython 3.9+ Windows x86-64

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

Uploaded CPython 3.9+ Windows x86

cryptography-43.0.1-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.1-cp39-abi3-musllinux_1_2_aarch64.whl (3.9 MB view details)

Uploaded CPython 3.9+ musllinux: musl 1.2+ ARM64

cryptography-43.0.1-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.1-cp39-abi3-manylinux_2_28_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.9+ manylinux: glibc 2.28+ ARM64

cryptography-43.0.1-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.1-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.1-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.1-cp37-abi3-win_amd64.whl (3.1 MB view details)

Uploaded CPython 3.7+ Windows x86-64

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

Uploaded CPython 3.7+ Windows x86

cryptography-43.0.1-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.1-cp37-abi3-musllinux_1_2_aarch64.whl (3.9 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ ARM64

cryptography-43.0.1-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.1-cp37-abi3-manylinux_2_28_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.28+ ARM64

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

File metadata

  • Download URL: cryptography-43.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 203e92a75716d8cfb491dc47c79e17d0d9207ccffcbcb35f598fbe463ae3444d
MD5 098045b2e33051979efab7a0a9880e0f
BLAKE2b-256 deba0664727028b37e249e73879348cc46d45c5c1a2a2e81e8166462953c5755

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 5b43d1ea6b378b54a1dc99dd8a2b5be47658fe9a7ce0a58ff0b55f4b43ef2b84
MD5 b01ccfd1be5a45696aefe0fa2dda9968
BLAKE2b-256 a280fb7d668f1be5e4443b7ac191f68390be24f7c2ebd36011741f62c7645eb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fba1007b3ef89946dbbb515aeeb41e30203b004f0b4b00e5e16078b518563289
MD5 3f5798eac1c29dd008246420838e46cb
BLAKE2b-256 dfe6ccd29a1f9a6b71294e1e9f530c4d779d5dd37c8bb736c05d5fb6d98a971b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c1332724be35d23a854994ff0b66530119500b6053d0bd3363265f7e5e77288d
MD5 f623243900417dbe4c5e2e8e735ab7a5
BLAKE2b-256 ea45967da50269954b993d4484bf85026c7377bd551651ebdabba94905972556

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-pp310-pypy310_pp73-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ea25acb556320250756e53f9e20a4177515f012c9eaea17eb7587a8c4d8ae034
MD5 3e3012ca185d29129db6a645138506f6
BLAKE2b-256 18234175dcd935e1649865e1af7bd0b827cc9d9769a586dcc84f7cbe96839086

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 7c05650fe8023c5ed0d46793d4b7d7e6cd9c04e68eabe5b0aeea836e37bdcec2
MD5 d8e0940cf47c3e9febd78cebb204ca04
BLAKE2b-256 8c422948dd87b237565c77b28b674d972c7f983ffa3977dc8b8ad0736f6a7d97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e710bf40870f4db63c3d7d929aa9e09e4e7ee219e703f949ec4073b4294f6172
MD5 26c80dcf8f21646d378faa7bbf05ed36
BLAKE2b-256 21b04ecefa99519eaa32af49a3ad002bb3e795f9e6eb32221fd87736247fa3cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9d3cdb25fa98afdd3d0892d132b8d7139e2c087da1712041f6b762e4f807cc96
MD5 60bb701f558e21061641ab42ecd901e4
BLAKE2b-256 3efd70f3e849ad4d6cca2118ee6938e0b52326d02406f10912356151dd4b6868

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 88cce104c36870d70c49c7c8fd22885875d950d9ee6ab54df2745f83ba0dc365
MD5 957765927107fe670c2ff85a34ad1a22
BLAKE2b-256 b2aa782e42ccf854943dfce72fb94a8d62220f22084ff07076a638bc3f34f3cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d75601ad10b059ec832e78823b348bfa1a59f6b8d545db3a24fd44362a1564cb
MD5 b8d8aa7f036e209da46c6fa85cff2820
BLAKE2b-256 b3c6c09cee6968add5ff868525c3815e5dccc0e3c6e89eec58dc9135d3c40e88

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-43.0.1-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.1-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 a575913fb06e05e6b4b814d7f7468c2c660e8bb16d8d5a1faf9b33ccc569dd47
MD5 4836cca6e81e5305028f245ad1860255
BLAKE2b-256 0536e532a671998d6fcfdb9122da16434347a58a6bae9465e527e450e0bc60a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 38926c50cff6f533f8a2dae3d7f19541432610d114a70808f0926d5aaa7121e4
MD5 13af717f6e862d51b468370268e46373
BLAKE2b-256 bd4cab0b9407d5247576290b4fd8abd06b7f51bd414f04eef0f2800675512d61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 80eda8b3e173f0f247f711eef62be51b599b5d425c429b5d4ca6a05e9e856baa
MD5 2a4557c1a603156bd50b5432e84fe67e
BLAKE2b-256 43f6feebbd78a3e341e3913846a3bb2c29d0b09b1b3af1573c6baabc2533e147

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 511f4273808ab590912a93ddb4e3914dfd8a388fed883361b02dea3791f292e1
MD5 0ac99ec214366ef436da2237c48cba04
BLAKE2b-256 ac7eebda4dd4ae098a0990753efbb4b50954f1d03003846b943ea85070782da7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-cp39-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d03a475165f3134f773d1388aeb19c2d25ba88b6a9733c5c590b9ff7bbfa2e0c
MD5 f8fd464c6fef51085a15285f73f30744
BLAKE2b-256 64f3b7946c3887cf7436f002f4cbb1e6aec77b8d299b86be48eeadfefb937c4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 58d4e9129985185a06d849aa6df265bdd5a74ca6e1b736a77959b498e0505b85
MD5 84fb793aa89b176871de92af9e112a24
BLAKE2b-256 3ded38b6be7254d8f7251fde8054af597ee8afa14f911da67a9410a45f602fc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1bbcce1a551e262dfbafb6e6252f1ae36a248e615ca44ba302df077a846a8806
MD5 5c10490c7bf3efd049221cef12a2d2a1
BLAKE2b-256 000e8217e348a1fa417ec4c78cd3cdf24154f5e76fd7597343a35bd403650dfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-cp39-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ac119bb76b9faa00f48128b7f5679e1d8d437365c5d26f1c2c3f0da4ce1b553d
MD5 91315020212e416019c494ea44cdc3b6
BLAKE2b-256 8ab6bc54b371f02cffd35ff8dc6baba88304d7cf8e83632566b4b42e00383e03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 666ae11966643886c2987b3b721899d250855718d6d9ce41b521252a17985f4d
MD5 1fba58d9e800b2b23f28a83e07a90cf3
BLAKE2b-256 cc730eacbdc437202edcbdc07f3576ed8fb8b0ab79d27bf2c5d822d758a72faa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-43.0.1-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.1-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 2bd51274dcd59f09dd952afb696bf9c61a7a49dfc764c04dd33ef7a6b502a1e2
MD5 a26a414738e6f024887ed5d9a92c3c4e
BLAKE2b-256 bb18a04b6467e6e09df8c73b91dcee8878f4a438a43a3603dc3cd6f8003b92d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-cp37-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 014f58110f53237ace6a408b5beb6c427b64e084eb451ef25a28308270086494
MD5 415eff0e5320e56406d7fe0fc5064126
BLAKE2b-256 a465430509e31700286ec02868a2457d2111d03ccefc20349d24e58d171ae0a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-cp37-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 61ec41068b7b74268fa86e3e9e12b9f0c21fcf65434571dbb13d954bceb08042
MD5 32028939a4e55a623ee0e58a111087b0
BLAKE2b-256 cc429ab8467af6c0b76f3d9b8f01d1cf25b9c9f3f2151f4acfab888d21c55a72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-cp37-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f98bf604c82c416bc829e490c700ca1553eafdf2912a91e23a79d97d9801372a
MD5 55c0ee709c73ee1b9466c78b7013a5fb
BLAKE2b-256 ad437a9920135b0d5437cc2f8f529fa757431eb6a7736ddfadfdee1cc5890800

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-cp37-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 de41fd81a41e53267cb020bb3a7212861da53a7d39f863585d13ea11049cf277
MD5 322158bbbad094e2d0fe773a994fcadc
BLAKE2b-256 cedc1471d4d56608e1013237af334b8a4c35d53895694fbb73882d1c4fd3f55e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 68aaecc4178e90719e95298515979814bda0cbada1256a4485414860bd7ab962
MD5 a7c13bc8df859982782e8c046e4b36ed
BLAKE2b-256 5e4b39bb3c4c8cfb3e94e736b8d8859ce5c81536e91a1033b1d26770c4249000

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 27e613d7077ac613e399270253259d9d53872aaf657471473ebfc9a52935c062
MD5 6c75e2c56a3f442f89a9ed359f5ccc74
BLAKE2b-256 33131193774705783ba364121aa2a60132fa31a668b8ababd5edfa1662354ccd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-43.0.1-cp37-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 8385d98f6a3bf8bb2d65a73e17ed87a3ba84f6991c155691c51112075f9ffc5d
MD5 7474442e029171c6f1f3ef827a7d385a
BLAKE2b-256 5828b92c98a04ba762f8cdeb54eba5c4c84e63cac037a7c5e70117d337b15ad6

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