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

Uploaded Source

Built Distributions

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

Uploaded PyPyWindows x86-64

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

Uploaded PyPymanylinux: glibc 2.28+ x86-64

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

Uploaded PyPymanylinux: glibc 2.24+ x86-64

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

Uploaded PyPymanylinux: glibc 2.17+ x86-64

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

Uploaded PyPymacOS 10.10+ x86-64

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

Uploaded PyPyWindows x86-64

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

Uploaded PyPymanylinux: glibc 2.28+ x86-64

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

Uploaded PyPymanylinux: glibc 2.24+ x86-64

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

Uploaded PyPymanylinux: glibc 2.17+ x86-64

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

Uploaded PyPymacOS 10.10+ x86-64

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

Uploaded PyPymanylinux: glibc 2.28+ x86-64

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

Uploaded PyPymanylinux: glibc 2.24+ x86-64

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

Uploaded PyPymanylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.6+Windows x86-64

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

Uploaded CPython 3.6+Windows x86

cryptography-38.0.4-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.4-cp36-abi3-musllinux_1_1_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.6+musllinux: musl 1.1+ ARM64

cryptography-38.0.4-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.4-cp36-abi3-manylinux_2_28_aarch64.whl (4.0 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.28+ ARM64

cryptography-38.0.4-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.4-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.4-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.4-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+ ARM64manylinux: glibc 2.24+ ARM64

cryptography-38.0.4-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.4-cp36-abi3-macosx_10_10_universal2.whl (5.4 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for cryptography-38.0.4.tar.gz
Algorithm Hash digest
SHA256 175c1a818b87c9ac80bb7377f5520b7f31b3ef2a0004e2420319beadedb67290
MD5 2b8b23b955b43994f222f78faf17713b
BLAKE2b-256 e33f41186b1f2fd86a542d399175f6b8e43f82cd4dfa51235a0b030a042b811a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 80ca53981ceeb3241998443c4964a387771588c4e4a5d92735a493af868294f9
MD5 8de3907d52133bf796e1784cf91f0bfb
BLAKE2b-256 fb280544f67e2ffdc15874d7a650a867c78a7dba245afe3392f51cfae363545c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b4cad0cea995af760f82820ab4ca54e5471fc782f70a007f31531957f43e9dee
MD5 e35c747ff241d3cde7ca3219c33a47ef
BLAKE2b-256 7ec5de81357e353d1d7f50b327cb1c1d8ccd45ebd2a6949a2c819db8a7481a2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 4367da5705922cf7070462e964f66e4ac24162e22ab0a2e9d31f1b270dd78083
MD5 0bd13edb92cc21916c8f8ad1af070af4
BLAKE2b-256 0efc417b674c05af65d8dc2856a439f20a866a3fa21b01496f99fb18f812c4ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2fb481682873035600b5502f0015b664abc26466153fab5c6bc92c1ea69d478b
MD5 943aaa701e2091d341b2e54898176b74
BLAKE2b-256 611a35fd07185b10e3153c8c95d694fb2db1e1e3f55dcc8ef2763685705bf0dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-pp39-pypy39_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 78e47e28ddc4ace41dd38c42e6feecfdadf9c3be2af389abbfeef1ff06822285
MD5 8223cdde2e5080c22876abf3f6befa06
BLAKE2b-256 d274a70f68d888454640ea87f1aca9fe6d11d8824457006a1dfa94564cdc6fbf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 6391e59ebe7c62d9902c24a4d8bcbc79a68e7c4ab65863536127c8a9cd94043b
MD5 49cb74bdf1ac0cf158d7e5620837f1f8
BLAKE2b-256 05c8039786ad38547bda34b1ee6f87869eaf6e5f5577c2043a1b01a9207b7e89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3178d46f363d4549b9a76264f41c6948752183b3f587666aff0555ac50fd7876
MD5 0aa396921e230db09a323ac98d1d8cf2
BLAKE2b-256 94676cf029c40885b5a559ce4f40c16a95c9d5929cc41184503a31f3e8c025e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 4eb85075437f0b1fd8cd66c688469a0c4119e0ba855e3fef86691971b887caf6
MD5 88cc6365ca9ec40c5428f5a6ff1af778
BLAKE2b-256 77fa69375dc382dc0385628c33d4b9fefc1a27c0c901a493832c605399930c17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 67461b5ebca2e4c2ab991733f8ab637a7265bb582f07c7c88914b5afb88cb95b
MD5 56a59b797bef82b79424f38985174b2a
BLAKE2b-256 5a72bc0ce09fbddb40ef81284a2479ad5236b305c0871f4712e31c298fb77b0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-pp38-pypy38_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 998cd19189d8a747b226d24c0207fdaa1e6658a1d3f2494541cb9dfbf7dcb6d2
MD5 8efe0e302e0eb8eaf3c08ba5cd9ff8b7
BLAKE2b-256 8b92ef0762ecda6a225366d0aa15926f752a8af9eff3c4a4603d8262d5ce80fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-pp37-pypy37_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0e70da4bdff7601b0ef48e6348339e490ebfb0cbe638e083c9c41fb49f00c8bd
MD5 fef0908f9996bddc5f34baffbe3e99cd
BLAKE2b-256 d955aedec39dd8884d539941faa57c74952b9dccf76d2c9d48a65acc24877434

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 c9e0d79ee4c56d841bd4ac6e7697c8ff3c8d6da67379057f29e66acffcd1e9a7
MD5 3841e3f3b30a1b707ee40ca485251dfd
BLAKE2b-256 0e36c21943944d4cb1e767510cd17432eec2c59c779fae28703b5a35d4440703

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ca57eb3ddaccd1112c18fc80abe41db443cc2e9dcb1917078e02dfa010a4f353
MD5 9e8030f3893d58c7d9607ae32f5df66f
BLAKE2b-256 680036a95b6b92b7161afcddcc57ae8883d2978f2b5eaac15fe6dbda23424428

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8e45653fb97eb2f20b8c96f9cd2b3a0654d742b47d638cf2897afbd97f80fa6d
MD5 a97b4357453e8605b731163ddf10e191
BLAKE2b-256 c0ebf52b165db2abd662cda0a76efb7579a291fed1a7979cf41146cdc19e0d7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-38.0.4-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.1 CPython/3.10.1

File hashes

Hashes for cryptography-38.0.4-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 1d7e632804a248103b60b16fb145e8df0bc60eed790ece0d12efe8cd3f3e7744
MD5 558e9fda242ea53fec69f12031ce80ce
BLAKE2b-256 0f832cc749fdc39345c1343cb29dc38bc7de9a0a55b7761663e098410f98f902

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8a4b2bdb68a447fadebfd7d24855758fe2d6fecc7fed0b78d190b1af39a8e3b0
MD5 d0f7f87c05d4c9d085efb2bc8c17ddc7
BLAKE2b-256 644e04dced6a515032b7bf3e8f287c7ff73a7d1b438c8394aa50b9fceb4077e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 53049f3379ef05182864d13bb9686657659407148f901f3f1eee57a733fb4b00
MD5 c6b3e5d803510bb7f42f9398dc4d1f0d
BLAKE2b-256 b1446d6cb7cff7f2dbc59fde50e5b82bc6df075e73af89a25eba1a6193c22165

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-cp36-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ce127dd0a6a0811c251a6cddd014d292728484e530d80e872ad9806cfb1c5b3c
MD5 34786fda48f8dc66cb456f02fa7e1af0
BLAKE2b-256 26f8a81170a816679fca9ccd907b801992acfc03c33f952440421c921af2cc57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-cp36-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bfe6472507986613dc6cc00b3d492b2f7564b02b3b3682d25ca7f40fa3fd321b
MD5 bc9990e7a0e5e0d4bcceea66b5293235
BLAKE2b-256 a28f6c52b1f9d650863e8f67edbe062c04f1c8455579eaace1593d8fe469319a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 10652dd7282de17990b88679cb82f832752c4e8237f0c714be518044269415db
MD5 1b0b3f3a842c146f628a3d806cc95fa1
BLAKE2b-256 129ce44f95e71aedc5fefe3425df662dd17c6f94fbf68470b56c4873c43f27d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a10498349d4c8eab7357a8f9aa3463791292845b79597ad1b98a543686fb1ec8
MD5 5fab6b50e300c39e5f74145dc79296b0
BLAKE2b-256 63d466b3b4ffe51b47a065b5a5a00e6a4c8aa6cdfa4f2453adfa0aac77fd3511

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 50a1494ed0c3f5b4d07650a68cd6ca62efe8b596ce743a5c94403e6f11bf06c1
MD5 24aa63b9601686c8fe6c0fc77675916e
BLAKE2b-256 32edd7de730e1452ed714f2f8eee123669d4819080e03ec523b131d9b709d060

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 2ec2a8714dd005949d4019195d72abed84198d877112abb5a27740e217e0ea8d
MD5 ef0d7082407c37562ea488f4f9993f74
BLAKE2b-256 6d47929f07e12ebbcfedddb95397c49677dd82bb5a0bb648582b10d5f65e321c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 1f13ddda26a04c06eb57119caf27a524ccae20533729f4b1e4a69b54e07035eb
MD5 566e5ed81bfb31f433f77fb73b45119d
BLAKE2b-256 521b49ebc2b59e9126f1f378ae910e98704d54a3f48b78e2d6d6c8cfe6fbe06f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.4-cp36-abi3-macosx_10_10_universal2.whl
Algorithm Hash digest
SHA256 2fa36a7b2cc0998a3a4d5af26ccb6273f3df133d61da2ba13b3286261e7efb70
MD5 c2544e9b0718dedbed176f9dbe3dba1c
BLAKE2b-256 757a2ea7dd2202638cf1053aaa8fbbaddded0b78c78832b3d03cafa0416a6c84

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