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

Uploaded Source

Built Distributions

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

Uploaded PyPy macOS 10.10+ x86-64

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

Uploaded CPython 3.6m Windows x86-64

cryptography-1.7.1-cp36-cp36m-win32.whl (901.3 kB view details)

Uploaded CPython 3.6m Windows x86

cryptography-1.7.1-cp36-cp36m-macosx_10_10_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.6m macOS 10.10+ x86-64

cryptography-1.7.1-cp36-cp36m-macosx_10_6_intel.whl (1.4 MB view details)

Uploaded CPython 3.6m macOS 10.6+ Intel (x86-64, i386)

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

Uploaded CPython 3.5m Windows x86-64

cryptography-1.7.1-cp35-cp35m-win32.whl (901.3 kB view details)

Uploaded CPython 3.5m Windows x86

cryptography-1.7.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.7.1-cp35-cp35m-macosx_10_6_intel.whl (1.4 MB view details)

Uploaded CPython 3.5m macOS 10.6+ Intel (x86-64, i386)

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

Uploaded CPython 3.4m Windows x86-64

cryptography-1.7.1-cp34-cp34m-win32.whl (900.7 kB view details)

Uploaded CPython 3.4m Windows x86

cryptography-1.7.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.7.1-cp34-cp34m-macosx_10_6_intel.whl (1.4 MB view details)

Uploaded CPython 3.4m macOS 10.6+ Intel (x86-64, i386)

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

Uploaded CPython 3.3m Windows x86-64

cryptography-1.7.1-cp33-cp33m-win32.whl (900.7 kB view details)

Uploaded CPython 3.3m Windows x86

cryptography-1.7.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.7.1-cp33-cp33m-macosx_10_6_intel.whl (1.4 MB view details)

Uploaded CPython 3.3m macOS 10.6+ Intel (x86-64, i386)

cryptography-1.7.1-cp27-cp27mu-macosx_10_10_x86_64.whl (1.4 MB view details)

Uploaded CPython 2.7mu macOS 10.10+ x86-64

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

Uploaded CPython 2.7m Windows x86-64

cryptography-1.7.1-cp27-cp27m-win32.whl (900.9 kB view details)

Uploaded CPython 2.7m Windows x86

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

Uploaded CPython 2.7m macOS 10.10+ Intel (x86-64, i386)

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

Uploaded CPython 2.7m macOS 10.6+ Intel (x86-64, i386)

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

Uploaded CPython 2.6m Windows x86-64

cryptography-1.7.1-cp26-cp26m-win32.whl (901.7 kB view details)

Uploaded CPython 2.6m Windows x86

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

Uploaded CPython 2.6m macOS 10.10+ Intel (x86-64, i386)

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1.tar.gz
Algorithm Hash digest
SHA256 953fef7d40a49a795f4d955c5ce4338abcec5dea822ed0414ed30348303fdb4c
MD5 2f63dee6ace602d1d20d1995f8538015
BLAKE2b-256 82f7d6dfd7595910a20a563a83a762bf79a253c4df71759c3b228accb3d7e5e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-pp226-pp226u-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 c087a345510e56f944298e76b84c0c86b0aaaee3cd29fb1112d5077de025f484
MD5 bcbae756e1f6b7168f276745fae92b2c
BLAKE2b-256 617d315f823437e08c9e0a18609a3cd475ef5bdbb43da1ef90ddc82d54c3dfa2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 cf5af01fe7b471745a0266679565c640df3e151e366bd57584997e10acf8454c
MD5 6829180d73976bd08cfab1af378cef3e
BLAKE2b-256 a88877d4b493cc973c593ae6930464cc48ac7be51cf53fabf9a7c08201790df5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 408d26210820d402cd224a732eb53e624c0a1265b6543fc105ab14e42d383946
MD5 a4e1312292ae936ea99da70d50ed8641
BLAKE2b-256 acae78fab995e830c3b51aebe2dafa69362da80847b96cf39f72cbc4e94e69d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 5794d50cf9bf00d89fed80e575ddba8986e6959791ed28abe485d4d0c984b018
MD5 603a0f6e52763f913a749c3a8fd7f3aa
BLAKE2b-256 fe7410a23ceaeb551b909da10361769d707fbcde185afcb45b333cb4de45dfff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 c961daa0c6ea0d6b447da7b3a5d1fcedfcbdfec2010dc47ce8d24dbe601e34a5
MD5 79aeaf8761dc033e740178e532c17963
BLAKE2b-256 6d81077da07a8b369e3f2f509c74f28bdaf7978167e8153285bfa8cb8131a9bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 e616aa7a97f377ec5fa4018ab8be69d05dbf07d7e36be6d8cc88cabdea87907d
MD5 07d025db435916e2bff12f1166c5d3ad
BLAKE2b-256 f996776d6cba471a9367dd43c9041965259dfc72c92c7adba9ec5d34b2949d7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 c53e4c445244037bd1938b099b3b0109c3592fc5cc11d1a7d838a29d43a12188
MD5 42e6cca1d96709b9d401ab3540efa7a9
BLAKE2b-256 b5725e5ebf0ffc9060e07cb2bbf7ee613e4e5310309b1ac61d58d46e5aac0a8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 a66119497c6c450c8a267af159d605d3cc5c47216c6dbdf7e3d022092cbbe335
MD5 6ee61c83e9d9c405c0aae8d76229559e
BLAKE2b-256 b256e5f181c0aa0a07804a1120485dc85126741484db871c2b99e84f2741258a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 a55549683a968cfa47973744927209ed74777f3f631bde983600b06a1f123d52
MD5 e20ebc9fedee6ef1ecd09e75669fea31
BLAKE2b-256 789e2eff125d3e6c2579e06fb34a4edc77f7fd4b47890d484093b0b2b119b0ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 a6a79fee492bb2634d1d0547c0ddd42f8a58c7f0c8f1544f351840d0c7a43984
MD5 37cae13e322d45157fb242643ac685b3
BLAKE2b-256 b1f83cbe8f56a4554294f7a4dac64e362dfceb2f3d3f7b6b2003b6e01a102d4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 1dc1746a1bce9c585dda645b81ee054c212be1eed4251e7faae0dd47402dae80
MD5 fff2dae98b7a238b3b78d19c9b6e5216
BLAKE2b-256 0e551fcfa8cfda95ac1248bbfaddd97f3ec1b5efa87164bc907a5bb1c078f7c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 8cd4c0749f9cf4d276bd265f40adb7450f353a9372053a4535a6d1cd8fb4e117
MD5 0402d673a87718b1b7412d722c0b9cee
BLAKE2b-256 df06dd4c83a4a6c341590114512265b0ef5020ebb67e5d10cb52871303e3f94a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 f69f00520a4a19e5ff73faf2586a87c4b8fe961bf06534fe53fd0bf4f1dbd460
MD5 8f3391c7cf403f29ede802185ddb91fd
BLAKE2b-256 86650be80bf5e63d2b01e524ec5096ddc2f43fd8cf7f6c7785fa6f967c8cd92b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 812aa417b6333b8ff19a37bb5931041ff79a66f2652ed09ecce6fd88a94b8c7f
MD5 a291583437dd8a2f1be41d9c259fd0ff
BLAKE2b-256 ff22595d614b8aa041e8c63a249edb98fec5acb22077b7edc4fb9f879352e70b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 2430c62db70bf74a365bcd03c7d1818e57f1acdcbc7995e2ce4b5df93f630834
MD5 894614ffd59d87b7e1bd9db1cfe8bc4d
BLAKE2b-256 b430e92cea325cd2c3d229ea8d8ae6f8dcce636875b79a753b9e5ca444277e76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp33-cp33m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 b4ea153d79f0a45f5d16366a46080264479569cc68b8ed750111666ae69ffa9f
MD5 099fdbbfe6c015742134e107d1c07eec
BLAKE2b-256 0b717c035b40f3a2ce530dd272d00008ed39f319cb1ab0786f33f647c5e6d116

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp33-cp33m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 cfce45297e8f80551ad80e638b71343dcc76a2d714b998d896b5f9c9f144e2db
MD5 e990c07d29614bfcd67275a8868759b0
BLAKE2b-256 e622e63c2133c7b7819dc86adc0de4e5c2528da4bfd10426ee37f7386e2f1c68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp27-cp27mu-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 f852f5693577b44a283189d0656c8bd75fd820bf17d5c60200377b5cdf161c78
MD5 f9c50d3ac9c2fd5c90582c37f2670c88
BLAKE2b-256 6e31bac1872cbbb4ef0de718d001d2ff1fdbbae2c6c715ffa633fef1ee6a7f5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 b05a068bb653fbe72a1c218569e30227d59ec4477a13dda43f9bc559d4b7e0a4
MD5 3d2b831beb8d9482c2dc694b8d146237
BLAKE2b-256 3e2d2ea7390a8f0cf2eec2acaa12090d17428b3d74044ee5d152f41b6fa77522

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 08e45b28dfd1d08f3204aee1d6225ebfef799f29ad2ba42faadfc841af147b77
MD5 9b37b3a714ac2fb8c59305e4e61e11b8
BLAKE2b-256 90e8000f12f544913e00dca49dea241f854643b8a6dbb37656bbf3562c7bc199

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 7dea028aaf3b8bf7ea2a61c03a252757f88176fed7fc8bbd8b62acf880a47ca6
MD5 381bac48a7089df7951d60a124f2f1e7
BLAKE2b-256 8642868f24b783fdb0cb8ce51090d9b8c302c81babf7c5dd06ba0bc64854c6d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 46c020758d3a246308f695aa10c61753f31cccaf1cc27b373fbb5e4cdc2bb839
MD5 9f8b929d1a86a63957f2cf41b7bafbf6
BLAKE2b-256 774187ee1583c6168e9391b6a77e632d5c7976d277c944714b97677f7544b53e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp26-cp26m-win_amd64.whl
Algorithm Hash digest
SHA256 ce75cc238d57f669838af18f449e84012124b93d021a471acff709312f9d7eb7
MD5 c90fb7dfe07928c3d6d9923bb34b1b7c
BLAKE2b-256 02b93c0b51d847d382e179f1797fae8150a780aeb3a5dc5c8265804b90f0756a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp26-cp26m-win32.whl
Algorithm Hash digest
SHA256 cd86515cd72ca0ec7af67e5616ed4f546a847df73e9b60dd68fd30ab03629424
MD5 cf0f71cc46332cfb34100c729e5d06a3
BLAKE2b-256 36e03d66a7be6bd1aa412e283a24cb96a470e29f0214027e54d76c86d4a6072b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.7.1-cp26-cp26m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 580aea2e530ca35ed76af9e7e945529119e3c1af834122cb153ff00f44500517
MD5 d568f18cc206a5ce7be19012a8d10fc1
BLAKE2b-256 d00d00e8f7cbdd8db8b5ae05a3774613c1a49a089e8867e61dbe5b498a4de6af

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