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.6-2.7, Python 3.3+, and PyPy 2.6+.

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.

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.

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

Uploaded Source

Built Distributions

cryptography-1.3.1-pp226-pp226u-macosx_10_10_x86_64.whl (1.2 MB view details)

Uploaded PyPy macOS 10.10+ x86-64

cryptography-1.3.1-cp35-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.5 Windows x86-64

cryptography-1.3.1-cp35-none-win32.whl (890.8 kB view details)

Uploaded CPython 3.5 Windows x86

cryptography-1.3.1-cp35-cp35m-macosx_10_10_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.5m macOS 10.10+ x86-64

cryptography-1.3.1-cp35-cp35m-macosx_10_6_intel.whl (1.4 MB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

cryptography-1.3.1-cp34-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.4 Windows x86-64

cryptography-1.3.1-cp34-none-win32.whl (885.1 kB view details)

Uploaded CPython 3.4 Windows x86

cryptography-1.3.1-cp34-cp34m-macosx_10_10_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.4m macOS 10.10+ x86-64

cryptography-1.3.1-cp34-cp34m-macosx_10_6_intel.whl (1.4 MB view details)

Uploaded CPython 3.4m macOS 10.6+ intel

cryptography-1.3.1-cp33-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.3 Windows x86-64

cryptography-1.3.1-cp33-none-win32.whl (885.1 kB view details)

Uploaded CPython 3.3 Windows x86

cryptography-1.3.1-cp33-cp33m-macosx_10_10_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.3m macOS 10.10+ x86-64

cryptography-1.3.1-cp33-cp33m-macosx_10_6_intel.whl (1.4 MB view details)

Uploaded CPython 3.3m macOS 10.6+ intel

cryptography-1.3.1-cp27-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 2.7 Windows x86-64

cryptography-1.3.1-cp27-none-win32.whl (885.2 kB view details)

Uploaded CPython 2.7 Windows x86

cryptography-1.3.1-cp27-none-macosx_10_10_intel.whl (2.4 MB view details)

Uploaded CPython 2.7 macOS 10.10+ intel

cryptography-1.3.1-cp27-none-macosx_10_6_intel.whl (1.4 MB view details)

Uploaded CPython 2.7 macOS 10.6+ intel

cryptography-1.3.1-cp27-cp27m-macosx_10_10_intel.whl (2.4 MB view details)

Uploaded CPython 2.7m macOS 10.10+ intel

cryptography-1.3.1-cp27-cp27m-macosx_10_6_intel.whl (1.4 MB view details)

Uploaded CPython 2.7m macOS 10.6+ intel

cryptography-1.3.1-cp26-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 2.6 Windows x86-64

cryptography-1.3.1-cp26-none-win32.whl (886.0 kB view details)

Uploaded CPython 2.6 Windows x86

cryptography-1.3.1-cp26-none-macosx_10_10_intel.whl (2.4 MB view details)

Uploaded CPython 2.6 macOS 10.10+ intel

cryptography-1.3.1-cp26-cp26m-macosx_10_10_intel.whl (2.4 MB view details)

Uploaded CPython 2.6m macOS 10.10+ intel

File details

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

File metadata

File hashes

Hashes for cryptography-1.3.1.tar.gz
Algorithm Hash digest
SHA256 b4b36175e0f95ddc88435c26dbe3397edce48e2ff5fe41d504cdb3beddcd53e2
MD5 bc8148d2ff2d80fef8ef2d2e856b3a7f
BLAKE2b-256 92eae7d512719dcc672ce7ed5d70f188e45e329c4bcf7c94528fbc7efa138d8a

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-pp226-pp226u-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-pp226-pp226u-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 e6ff4ba2d477462732ec0c55c056b6b1b0eae10facb0c802f26fb7284c8a71f1
MD5 ebfb172729b24fa55a9153957822939a
BLAKE2b-256 77f2ace9a2fc5b382adaa016e58c80a56d030235b9cd8cba43cd880bca989c3b

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp35-none-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 d67acfcf3034782d04525d47b0cf2e57fe1ce6b15e24dae6ef765154d7834367
MD5 a8d9346c0320334a583af79b02ca09e3
BLAKE2b-256 39c3b41f3b2dfba295cac64412e44cac3811e6441f08ee1b3225c5e7120b89e5

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp35-none-win32.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp35-none-win32.whl
Algorithm Hash digest
SHA256 9a898e6dce3fec444daf3b2c07fc060c816fe10d4cc4e11359b986272c0b3494
MD5 66b04d83581edda6653e433f165ac3e3
BLAKE2b-256 2f81114d854cccdbb5e512852bc64234cc7a7454da16ff8cba766c2b4baf764b

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp35-cp35m-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 693294e0289086314d06845c657aa779daee78e06bbd7a8caad89e5daef91e08
MD5 4e0652342ee176e7c61ee44e1811db6f
BLAKE2b-256 4e1e2b1765d7b991d063a451d729ea6c8d98e293f3003949d1e0c1cf3923ba69

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 672155b1d67123619539039a88caa715324f1c85ba599213d0810ef6054b948f
MD5 cf81d8b240d27df99a2fb37dc0b825f6
BLAKE2b-256 e692881e0295c8a750bfa508237734155d2bf00d21a5a5db61bb1ec3f19bade4

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp34-none-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 e5cc28e5f013eb2ded46f9eb079560a1ab4950379833b453003b12b8d51e4ade
MD5 cf4bfa990abbe8bc287da45ef75b156d
BLAKE2b-256 8779cda6376ab382a137a09ee05a62714469561bc5c309d3e361b2c39581221f

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp34-none-win32.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp34-none-win32.whl
Algorithm Hash digest
SHA256 62cf43020b3e47c97c52402c3faff1de8d0605353ba3c9525a1c83736ded41ab
MD5 e82120a12624a75a6f0e7384e3761d9c
BLAKE2b-256 3b9cf218210096a0395a7c51d1920f43ed48432eba6cc85dd27bb8e3f167ca8e

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp34-cp34m-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 e09d0451abfef958e786116659d7e5c2479bc741b0b0a22517456f7d006c1531
MD5 1b934f9491f485150de936dbf9e63e6f
BLAKE2b-256 3071fea15818c888d5ea8a6b30ba5a97761400e325151ab13aafb79ac8fca245

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp34-cp34m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 5608b61ae32ddaf4fb26897dc72716ac2e334c62bfd60aa560f8d142abe8a9d7
MD5 6d33f47da275424f7fca4c075d2bac2b
BLAKE2b-256 bdd56bb973ec7312dcf0c4b8a6b72301964ad50bbdef77f17bb97850d9bf96f6

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp33-none-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 1f6f9fe8acc1c678c09c0290f0394cc53a9cfb480b5986b29edab895268a67fc
MD5 2bcbd9ba1706a0b7d07c629675311458
BLAKE2b-256 55b8ae0488310099818ef0a13794f19499382581e1cbe909dafcec0d2c93d055

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp33-none-win32.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp33-none-win32.whl
Algorithm Hash digest
SHA256 18f010e13b4a722d59af4659112832bef944a350ffd9f4fe7189a896435aca37
MD5 52cf947b190a573edf0ae1a92e80c90f
BLAKE2b-256 3569f059f96bdbb278273270118063bbcf38986f63fe48b61128b79ab16b02d6

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp33-cp33m-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp33-cp33m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 ca9eca9c4cbd521f6e38031b67c479b783a4ccc0d5322218ad8ad64ff1ab309f
MD5 cc75183c24edfe56fdd6d13bbb97d569
BLAKE2b-256 b890910789a04195e001a26f8ecac8550e12faf81f794d744a7b0730a6f67d38

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp33-cp33m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp33-cp33m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 b8b7741e0c201ccdb9f3f1e7f11f46006856ce3ed3c5435194f32917154ae645
MD5 e28ef2d66005b31cfbb098574f8c1602
BLAKE2b-256 034f6e1bf456b7020baa269e822b8bf5a911c2e5a5549bdb1f728d6b4304470b

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp27-none-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 8146d2325ee92cb5ac34f2ded50fda0de479ab57c8696e3f35cf66644a298c8c
MD5 848c9aa7f4ad473b46374c48d0441342
BLAKE2b-256 82b7f31a2a983909c76cd86bef3775743ffffa3910ee64e99e9a25990c7baf1f

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp27-none-win32.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp27-none-win32.whl
Algorithm Hash digest
SHA256 2187ecd7d9ad7c8212ff3f9d1abf5217bc627d38fa06287ba7224f351830e364
MD5 ba07057ab1df41b8ab27bbbe60c40862
BLAKE2b-256 61918deac51c68885b81b74892fcc071019cf8ca35f276748b438ba4efcab194

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp27-none-macosx_10_10_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp27-none-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 16266fdb6b66e2d2c8b2daf190927cc5ce5c8dcf3aadde0abce4ab1e1d6283e7
MD5 272cb3a30143abb8fb8623513c163e0e
BLAKE2b-256 4af6750b1efec03b3106bacf23b1e01efe7c2954359802e64d3a84d2d6fcafb5

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp27-none-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp27-none-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 ffff580a90cf30a709c257447a0ffe699fb214acfd9bdf96b0b56ae7f54ca8d6
MD5 8f036f6f797d1747f66f09b100ac9cc4
BLAKE2b-256 0bc1a01cdda3e36adfaeb21078e8a5569f311ad1ae299e3aaf38b4055a3f7faf

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp27-cp27m-macosx_10_10_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 9840d12d642192e416650c002cb3837a88838a4a5bd0c9d33872e6683ae70e1b
MD5 7071eb917715956e5d9865e28d6d07a5
BLAKE2b-256 f93afe3ab6fbbfbac64923fcb719aaebda3475a29e5966b81911f37482477de4

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.3.1-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 44f008c8b8eb53f9706ea4586d2b67c1c8029f1435218591a39c6dfaf9e21a90
MD5 0fb5311ec8b82aaad0dd68075edf9ab8
BLAKE2b-256 790cd9bd587c4d5f0b262e22dd52509ca54ecf62fde121392fc9e11883fa1aa1

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp26-none-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp26-none-win_amd64.whl
Algorithm Hash digest
SHA256 b9230debc55e410a336e63276f159dd5b057b2fc85d698be5ef38dde17bce7ac
MD5 c2aaf9e2aeef20815eca4563a5d83e3f
BLAKE2b-256 e670ca85a99fb10ee70713a4e7c310d831c3618f80126f1f88f4eaa8995ad798

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp26-none-win32.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp26-none-win32.whl
Algorithm Hash digest
SHA256 8ec4366bb4720219c90dad7077b15fffbc1f6235f4fce22ce87de0addc783052
MD5 ac832ac6d6452fbb55287d0864e9d2d8
BLAKE2b-256 c7b4fe9c91e7aca56100116e30a9d881a24f4d14b702daecb875b135d80c4a94

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp26-none-macosx_10_10_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp26-none-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 a26edf5355809bd8767adc71439985ac1c6075e23941f6090b84baadad8ad8ce
MD5 c3f66993fa1a8751ff0c0769494d906b
BLAKE2b-256 7ae41c6c650165740f990c2aa5f422fcfe9038853671009cd896659a267c6f92

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.3.1-cp26-cp26m-macosx_10_10_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.3.1-cp26-cp26m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 6c3313a11d222c8fa958229684fb611407dce4d48a262c73c6eeef972be454e6
MD5 b27042e022d8145da5247b30f28b46da
BLAKE2b-256 874aa3a4daba4f0f14f267e50e91278529540efa2927f90940c0b3563beb20ed

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