Skip to main content

cryptography is a package which provides cryptographic recipes and primitives to Python developers.

Project description

Latest Version Latest Docs https://travis-ci.org/pyca/cryptography.svg?branch=master https://codecov.io/github/pyca/cryptography/coverage.svg?branch=master

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 2.7, Python 3.4+, and PyPy 5.3+.

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 #cryptography-dev on Freenode 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-2.2.2.tar.gz (443.8 kB view details)

Uploaded Source

Built Distributions

cryptography-2.2.2-cp37-cp37m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.7m Windows x86-64

cryptography-2.2.2-cp37-cp37m-win32.whl (1.1 MB view details)

Uploaded CPython 3.7m Windows x86

cryptography-2.2.2-cp36-cp36m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.6m Windows x86-64

cryptography-2.2.2-cp36-cp36m-win32.whl (1.1 MB view details)

Uploaded CPython 3.6m Windows x86

cryptography-2.2.2-cp35-cp35m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.5m Windows x86-64

cryptography-2.2.2-cp35-cp35m-win32.whl (1.1 MB view details)

Uploaded CPython 3.5m Windows x86

cryptography-2.2.2-cp34-cp34m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.4m Windows x86-64

cryptography-2.2.2-cp34-cp34m-win32.whl (1.1 MB view details)

Uploaded CPython 3.4m Windows x86

cryptography-2.2.2-cp34-abi3-manylinux1_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.4+

cryptography-2.2.2-cp34-abi3-manylinux1_i686.whl (2.0 MB view details)

Uploaded CPython 3.4+

cryptography-2.2.2-cp34-abi3-macosx_10_6_intel.whl (1.5 MB view details)

Uploaded CPython 3.4+ macOS 10.6+ intel

cryptography-2.2.2-cp27-cp27mu-manylinux1_x86_64.whl (2.2 MB view details)

Uploaded CPython 2.7mu

cryptography-2.2.2-cp27-cp27mu-manylinux1_i686.whl (2.0 MB view details)

Uploaded CPython 2.7mu

cryptography-2.2.2-cp27-cp27m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 2.7m Windows x86-64

cryptography-2.2.2-cp27-cp27m-win32.whl (1.1 MB view details)

Uploaded CPython 2.7m Windows x86

cryptography-2.2.2-cp27-cp27m-manylinux1_x86_64.whl (2.2 MB view details)

Uploaded CPython 2.7m

cryptography-2.2.2-cp27-cp27m-manylinux1_i686.whl (2.0 MB view details)

Uploaded CPython 2.7m

cryptography-2.2.2-cp27-cp27m-macosx_10_6_intel.whl (1.5 MB view details)

Uploaded CPython 2.7m macOS 10.6+ intel

File details

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

File metadata

File hashes

Hashes for cryptography-2.2.2.tar.gz
Algorithm Hash digest
SHA256 9fc295bf69130a342e7a19a39d7bbeb15c0bcaabc7382ec33ef3b2b7d18d2f63
MD5 17c4ed4b4d0f25adbc576d89071dc92e
BLAKE2b-256 ecb2faa78c1ab928d2b2c634c8b41ff1181f0abdd9adf9193211bd606ffa57e2

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 64b5c67acc9a7c83fbb4b69166f3105a0ab722d27934fac2cb26456718eec2ba
MD5 ef95ce6d5e6b221387b4ab71cc90ef18
BLAKE2b-256 2af0c8d395a555b0a3a6f3a1230ded0dc8a0902e491a4fc3ed3e34b2a141772b

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp37-cp37m-win32.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 5251e7de0de66810833606439ca65c9b9e45da62196b0c88bfadf27740aac09f
MD5 7db8f023b180a9783a3f86526569ce45
BLAKE2b-256 690f872d185fe8666daf736a8ab384b4ce2ae587780c46f441bd5402237433c5

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 ba6a774749b6e510cffc2fb98535f717e0e5fd91c7c99a61d223293df79ab351
MD5 67c6cd20cc802af0370142668693b97e
BLAKE2b-256 676267faef32908026e816a74b4b97491f8b9ff393d2951820573599c105cc32

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 f6c821ac253c19f2ad4c8691633ae1d1a17f120d5b01ea1d256d7b602bc59887
MD5 7388e7b3225601f5cde4ad357f38092e
BLAKE2b-256 90c93164aec0c129e0753bd92201b69f1dd859e29b243f516daab2d48557cb9f

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 9e5bed45ec6b4f828866ac6a6bedf08388ffcfa68abe9e94b34bb40977aba531
MD5 917a1e017dc5b25333c5b5dff58c1db3
BLAKE2b-256 6b5c446cbd196c4b7cd12b9014cb382c6a4a1486f900da9252d4366bf1074d8f

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 9b62fb4d18529c84b961efd9187fecbb48e89aa1a0f9f4161c61b7fc42a101bd
MD5 8039f914d2de7389753dd78f5ef6b55f
BLAKE2b-256 5c3509df58f5a3e866a5a1f2faa6f1dbb99fbcff69e0fff477ce7c75b886c066

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 d6f46e862ee36df81e6342c2177ba84e70f722d9dc9c6c394f9f1f434c4a5563
MD5 5f2a675e9a6eacb0bed608df0e55a8e3
BLAKE2b-256 54eb5453ed6144777961a0d4dd949a2035a110db823ee906ecb3c47a63be2eba

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 db6013746f73bf8edd9c3d1d3f94db635b9422f503db3fc5ef105233d4c011ab
MD5 cd09c91966ee8b6c85a42c24124163b1
BLAKE2b-256 21bd994a975accc5bcf615c75ad6e985e54a5ec2d70d96482d74ee69275761f9

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp34-abi3-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp34-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 551a3abfe0c8c6833df4192a63371aa2ff43afd8f570ed345d31f251d78e7e04
MD5 8f14370c279be4818ec842ebb172345a
BLAKE2b-256 faf43cde3604972dfa2b0fea85b9711948bb4fb70ab64095322aef35071bd254

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp34-abi3-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp34-abi3-manylinux1_i686.whl
Algorithm Hash digest
SHA256 f57008eaff597c69cf692c3518f6d4800f0309253bb138b526a37fe9ef0c7471
MD5 b10a03602367658e2a8dfe8f9f14e809
BLAKE2b-256 e5dea1d33430f8a2c3b306c01ba2f00b2568714062dc62270d86694b5aef81d9

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp34-abi3-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp34-abi3-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 c332118647f084c983c6a3e1dba0f3bcb051f69d12baccac68db8d62d177eb8a
MD5 4680a524fb125f6917a50c51247dbf77
BLAKE2b-256 4087acdcf84ce6d25a7db1c113f4b9b614fd8d707b7ab56fbf17cf18cd26a627

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6fef51ec447fe9f8351894024e94736862900d3a9aa2961528e602eb65c92bdb
MD5 0de204986d138f84ad918a850642c12a
BLAKE2b-256 ddc23a5bfefb25690725824ade71e6b65449f0a9f4b29702cce10560f786ebf6

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 808fe471b1a6b777f026f7dc7bd9a4959da4bfab64972f2bbe91e22527c1c037
MD5 f942f2a618c53d3177780499e145bd8e
BLAKE2b-256 c72e4aed064227595a5176d155d8d21428775298ea31c8486c2bc1340ef1abde

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 5cb990056b7cadcca26813311187ad751ea644712022a3976443691168781b6f
MD5 726051e81444d586e45e5d6a7fdaae63
BLAKE2b-256 ba0bf5ebc78a8ef65b076ae9fb84c9171be0267034160da21a35240aee45df9c

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 60bda7f12ecb828358be53095fc9c6edda7de8f1ef571f96c00b2363643fa3cd
MD5 d1f056a7902d2fea9b05f671d2273421
BLAKE2b-256 39dcb17fdd7cd1a9e676a13f6cd09cd993e432b619045613039ee75f67f12d7b

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 77d0ad229d47a6e0272d00f6bf8ac06ce14715a9fd02c9a97f5a2869aab3ccb2
MD5 a34deb87e947be31692163da603dd3ec
BLAKE2b-256 b8d234f54bf9459446965d0a4939ac872d6f82495cf16f48efc224af5de7f985

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 3f3b65d5a16e6b52fba63dc860b62ca9832f51f1a2ae5083c78b6840275f12dd
MD5 89cabf9117d4f316467e47b5274c2518
BLAKE2b-256 a10c1387b719d40820b01e5fd6fea81c54a13c4afa7eeaee3fbef42dca61cafc

See more details on using hashes here.

File details

Details for the file cryptography-2.2.2-cp27-cp27m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-2.2.2-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 abd070b5849ed64e6d349199bef955ee0ad99aefbad792f0c587f8effa681a5e
MD5 eccfda2ce78e4b9fffa44f2c5f7bae90
BLAKE2b-256 58c123bea66007d4be75ce02056fac665f9a207535e89fb3c7931420fa4a5f57

See more details on using hashes here.

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