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.

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.

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

Uploaded Source

Built Distributions

cryptography-1.8.1-pp226-pp226u-macosx_10_10_x86_64.whl (1.3 MB view details)

Uploaded PyPy macOS 10.10+ x86-64

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

cryptography-1.8.1-cp36-cp36m-macosx_10_10_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.6m macOS 10.10+ x86-64

cryptography-1.8.1-cp36-cp36m-macosx_10_6_intel.whl (1.5 MB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

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

Uploaded CPython 3.5m Windows x86-64

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

Uploaded CPython 3.5m Windows x86

cryptography-1.8.1-cp35-cp35m-macosx_10_10_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.5m macOS 10.10+ x86-64

cryptography-1.8.1-cp35-cp35m-macosx_10_6_intel.whl (1.5 MB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

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

Uploaded CPython 3.4m Windows x86-64

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

Uploaded CPython 3.4m Windows x86

cryptography-1.8.1-cp34-cp34m-macosx_10_10_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.4m macOS 10.10+ x86-64

cryptography-1.8.1-cp34-cp34m-macosx_10_6_intel.whl (1.5 MB view details)

Uploaded CPython 3.4m macOS 10.6+ intel

cryptography-1.8.1-cp33-cp33m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.3m Windows x86-64

cryptography-1.8.1-cp33-cp33m-win32.whl (1.1 MB view details)

Uploaded CPython 3.3m Windows x86

cryptography-1.8.1-cp33-cp33m-macosx_10_10_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.3m macOS 10.10+ x86-64

cryptography-1.8.1-cp33-cp33m-macosx_10_6_intel.whl (1.5 MB view details)

Uploaded CPython 3.3m macOS 10.6+ intel

cryptography-1.8.1-cp27-cp27mu-macosx_10_10_x86_64.whl (1.5 MB view details)

Uploaded CPython 2.7mu macOS 10.10+ x86-64

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

Uploaded CPython 2.7m Windows x86-64

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

Uploaded CPython 2.7m Windows x86

cryptography-1.8.1-cp27-cp27m-macosx_10_10_intel.whl (1.8 MB view details)

Uploaded CPython 2.7m macOS 10.10+ intel

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

Uploaded CPython 2.7m macOS 10.6+ intel

cryptography-1.8.1-cp26-cp26m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 2.6m Windows x86-64

cryptography-1.8.1-cp26-cp26m-win32.whl (1.1 MB view details)

Uploaded CPython 2.6m Windows x86

cryptography-1.8.1-cp26-cp26m-macosx_10_10_intel.whl (1.8 MB view details)

Uploaded CPython 2.6m macOS 10.10+ intel

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1.tar.gz
Algorithm Hash digest
SHA256 323524312bb467565ebca7e50c8ae5e9674e544951d28a2904a50012a8828190
MD5 9f28a9c141995cd2300d0976b4fac3fb
BLAKE2b-256 ec5fd5bc241d06665eed93cd8d3aa7198024ce7833af7a67f6dc92df94e00588

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-pp226-pp226u-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 a340b2d43b328b49276fab1894b5f7c32d03349d4ff4c20bac1bb1220369d4bd
MD5 e79826a459a645c18d23fdeeff85d8b2
BLAKE2b-256 156f6210f9a41c968217d783b15cde71163be3e793d9f51e2f0b8ce0d0aebb0c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 0db1ae812b38c613b0d6a9d053705434361eb11b97f804e1e3bca2fcf834f83a
MD5 78b32239286c2c3b6abb83903e6afa30
BLAKE2b-256 2cb258ba2eb9888b933d1b106c519af1eb5ee864565286a65e525422cc7a28da

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 3246f78496cd41650b5a421daa6b9913b93736c27410b235b35d7ae0c8140703
MD5 835bdd7a8e0f19474b4c79b1be1b2cfb
BLAKE2b-256 651f4b2e981244c97dae796178e0e02c9c64f6e5be250838afd7e7d1b673c8df

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.8.1-cp36-cp36m-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-1.8.1-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 634ec4798730cc0d9a1846b06098a2ee8e5ee18932d2df5b3adedef2d0219cdb
MD5 38ebe2cc9a5a94a70b2bd4821c6ff4cd
BLAKE2b-256 05036af328752b7b313855e503f14985f124cf78bfa7726b06faea4838a9fb28

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.8.1-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.8.1-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 055623d28f8962070db30d5fffe51a9d5505ba53ab26f5d2b19785dc68ce0d16
MD5 b7e9b1d2fa6ddb2400e47d803f6dfaf1
BLAKE2b-256 dfca3ad9d6571bfc7c07328b36b5cea395a0751c950d7c6c4592e94337e9a9a4

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 b6bebe651d467f55ba0fc7e73ee710e2c2ef77b028f4e73388d198291e8ed8f1
MD5 069d3189ac47757b64cb21e1bb05c875
BLAKE2b-256 93a0892229c459f23754f2a0d1556f0a8d11226fb65f7db09b8325699e4ffe31

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 5c4870a3644d52313fef46642e435e57ee30914b752a99531981f0e51210da7a
MD5 491e57a1b32fbc25b3d478d9dfa02527
BLAKE2b-256 239267ed9f1f02e577eaa0074df811aaa887fe9c7cbcedb70cd6d9bf47deb1d6

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 fd972c97d98ab3521517d40d342a3d2bd84dc457b04c0ea70c36a472b5fceb95
MD5 822a5cb7c306c8b725956fea013ddbdc
BLAKE2b-256 bde134580c95d0f0c8eb751e09846bd8624b40d76482dcdc33a93bd4db5a717e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 3f85833b914280b5f00346a0f32c7df3c4da6fbb2e7fcfdb160ff7706bf4fa01
MD5 c33b80a80c354dcbc2939bd0ff06c2e5
BLAKE2b-256 635c683e75064ec9a626689616de8a2160650349b0bbc81379e2b70ca03ed3f7

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 88b8aa3da487eaa6d950088218a72d88399b54f724a7f304102eca14e9e5bf1a
MD5 e95bd4fb7ef9e09de327d0acb1fa71f4
BLAKE2b-256 c0509b1d5361f088697408a66aad96115e7e985e13517ab56c5e3ffb4d06a332

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 1bc16030ae4dadf4ac0c2e0c9b55d3f16e5e1d7649644e589d5b0c9bb96bcbe3
MD5 9f6686488de011512ddbcdebf3683643
BLAKE2b-256 3bbe0a234e2a80348a55cce2e7ee5b0e5764e08e3c68149b383a3393b8d83d3e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 7a5523ce25417d273eeb56bb5f9e75a4a386a05a24f8f56d0b6b717a67c54c3d
MD5 5d5803d2e19516f0da26016b6125daf1
BLAKE2b-256 35786af120a79ee9529fac89a3fd8cae763f9376d10676a901d8e0b2ab962f50

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 a2613e0be11e6d33ea587e7efb289c0e56d8b1a9b5a2feca3de9520600275b61
MD5 f64e5f13fa98dc89fd273bae19f2e6ae
BLAKE2b-256 d104d08c1a553648b0e9041acb921553debb83b1e44cae5c592c5ab2bf22072d

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.8.1-cp33-cp33m-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-1.8.1-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 7dc1802b7eade8ca9d2ee4ca89cb7d0340a5e350abc7220c0379e931b2a49d74
MD5 b69f1a8d19087758c4c1ac37b7d862e0
BLAKE2b-256 2e580ec41d69eae00d4506450e71f07310ba884fdbd7208d71998110beec2f45

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.8.1-cp33-cp33m-win32.whl.

File metadata

File hashes

Hashes for cryptography-1.8.1-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 8c96112c2ea8368456dbd048f927ea45c36b79dedafb73225a0206802f1f899e
MD5 b0cec8020adec32ecaa9549cf1460ff8
BLAKE2b-256 b1c7e4c6ca8f54c04e29db581f8af38618095d8824814ed1f2f1ac3faad4b1be

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-cp33-cp33m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 9148fda71cb6464ff277f2122bcdea200e289f493c5e64c5a6c74f4cc32e8cc7
MD5 99021af0b07717fc6a64d1a3ca71e1de
BLAKE2b-256 b7d910905139d3de491957e2ce95e14a81030f1ae3bb2012f760d969d2db3483

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-cp33-cp33m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 2e4db5a270135e042c63dea730377905386e2dcfe01c83d122b8816d5385d536
MD5 3fef3ed4bdf7a7a03d084635827dd84c
BLAKE2b-256 cceb609c9caa2f293948ebcfa1931307503c22d2526df93efcf428283e2919da

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.8.1-cp27-cp27mu-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-1.8.1-cp27-cp27mu-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 3ea60472e12b8d81319ddfaa8fc21c5f685e0a07f7165ef17ac06afe0bf39d5f
MD5 3e135069978754ce50db5b06719cb529
BLAKE2b-256 342518cfd29f55e228151912aedd138cd7861a0044ad728386caeac9a491194c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 606c03aad3c11d4398000096894ccfef344b8eba803101b94eecfcf0b3565ba0
MD5 11d570679167e141ddaccd00e4291a9c
BLAKE2b-256 20f541ea7a39e8e1f0be5976c76c06ef3a5b617f22e121386f7e97b9fd734613

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 803cc590547859d0d2cca8540e58375f35ab0cbe26ce4a5368e609f45d1ddde3
MD5 e1f04c4482a668b5181202a9c65c90a0
BLAKE2b-256 9f6bf40266af48a9c57af01fb41b0c8d6076fc0cd75279053e86258ae33f0406

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 8728179e44dc87f2cb60c5359d7cd0272f91729fa10b1d24a8f7811b90cc3fc3
MD5 31fce37be63e28b41b5691d1fa6fba2d
BLAKE2b-256 9922927e4e0c38a421da578892b5bc1fc9701409faa6b40839fd47035a91d330

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 32d71ee5824e3dfe3bb78f8d2d035a4f7e4557f6179679e0f6e5dc54199a5206
MD5 f95d8039ed01aeaf20b50f77612d70ec
BLAKE2b-256 e519656773fce737d1e095efb05a592a9554edfc70fbaaf21fefa820d4983d59

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.8.1-cp26-cp26m-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-1.8.1-cp26-cp26m-win_amd64.whl
Algorithm Hash digest
SHA256 fc5e60a59f2166265be7376b3e1d50a597d5c89bedd9a7e1015ef25c3209c635
MD5 193f270e392398de03f5746eee483659
BLAKE2b-256 db3e16ed1d389ee654e9d42442250f97c111dca037366891e92776f0c206e528

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.8.1-cp26-cp26m-win32.whl.

File metadata

File hashes

Hashes for cryptography-1.8.1-cp26-cp26m-win32.whl
Algorithm Hash digest
SHA256 1588f5bf6660452551f8f24f1e61f0c0a32c9816d87cc5d1555f8f12727cda77
MD5 4c1aa7adb79c8953b95bb9967fda6b8d
BLAKE2b-256 bafcd110cd8d1932be0776c540e74f932fd5bfc39967ebe5204ddd37c789ec3e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.8.1-cp26-cp26m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 af05e95e3c39a2f2d0297de9565e478e154895dd98e29a3dd738095080ab968f
MD5 44abeb0790a9c8cc96ba8ec660d64780
BLAKE2b-256 4f365f3a5d6facc3abef42d3be3e2d4d5db1f64dbc152debc2a278f8cff50e1d

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