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

This version

1.2.3

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

Uploaded Source

Built Distributions

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

Uploaded PyPy macOS 10.10+ x86-64

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

Uploaded CPython 3.5 Windows x86-64

cryptography-1.2.3-cp35-none-win32.whl (886.6 kB view details)

Uploaded CPython 3.5 Windows x86

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

Uploaded CPython 3.5m macOS 10.10+ x86-64

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

Uploaded CPython 3.5m macOS 10.6+ intel

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

Uploaded CPython 3.4 Windows x86-64

cryptography-1.2.3-cp34-none-win32.whl (881.9 kB view details)

Uploaded CPython 3.4 Windows x86

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

Uploaded CPython 3.4m macOS 10.10+ x86-64

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

Uploaded CPython 3.4m macOS 10.6+ intel

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

Uploaded CPython 3.3 Windows x86-64

cryptography-1.2.3-cp33-none-win32.whl (881.9 kB view details)

Uploaded CPython 3.3 Windows x86

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

Uploaded CPython 3.3m macOS 10.10+ x86-64

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

Uploaded CPython 3.3m macOS 10.6+ intel

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

Uploaded CPython 2.7 Windows x86-64

cryptography-1.2.3-cp27-none-win32.whl (882.1 kB view details)

Uploaded CPython 2.7 Windows x86

cryptography-1.2.3-cp27-cp27m-macosx_10_10_intel.whl (2.3 MB view details)

Uploaded CPython 2.7m macOS 10.10+ intel

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

Uploaded CPython 2.7m macOS 10.6+ intel

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

Uploaded CPython 2.6 Windows x86-64

cryptography-1.2.3-cp26-none-win32.whl (882.9 kB view details)

Uploaded CPython 2.6 Windows x86

cryptography-1.2.3-cp26-cp26m-macosx_10_10_intel.whl (2.3 MB view details)

Uploaded CPython 2.6m macOS 10.10+ intel

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3.tar.gz
Algorithm Hash digest
SHA256 8eb11c77dd8e73f48df6b2f7a7e16173fe0fe8fdfe266232832e88477e08454e
MD5 5474d2b3e8c7555a60852e48d2743f85
BLAKE2b-256 8b7d9df253f059c8d9a9389f06df5d6301b0725a44dbf055a1f7aff8e455746a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-pp226-pp226u-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 8ec4e8e3d453b3a1b63b5f57737a434dcf1ee4a2f26f6ff7c5a37c3f679104d2
MD5 fe4172be9db5d8c4a033159113eabbee
BLAKE2b-256 21697b8a475fd8eac30ec0128508d59104e921f0cf4ebcdc8ffd8c84eae230fb

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 1a471ca576a9cdce1b1cd9f3a22b1d09ee44d46862037557de17919c0db44425
MD5 a6955ee5880d0da2aa87d1750a7b0ccf
BLAKE2b-256 e366e74352f028333918bb5adad1b44edbf610eb2c6a2bfeef71125b518f2f00

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp35-none-win32.whl
Algorithm Hash digest
SHA256 cae8fca1883f23c50ea78d89de6fe4fefdb4cea83177760f47177559414ded93
MD5 6e5e6944cdf9d7be2cb9621e27de3774
BLAKE2b-256 77f6ab658012a77b65dacd7de12beed871916aa257c3f0c69885e38d45669959

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 8df6fad6c6ae12fd7004ea29357f0a2b4d3774eaeca7656530d08d2d90cd41aa
MD5 bc05c64ab573c82a3586ba49d0196de4
BLAKE2b-256 5e79766c953c9dbd0d6e847c8e1df09da6d860f9d06cd9c07a54249d7242f778

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 0b8b96dd81cc1533a04f30382c0fe21c1972e189f794d0c4261a18cec08fd9b5
MD5 89d04f1a9855806677b5cc9fc049f4c7
BLAKE2b-256 988e3b3ea1380fb76065a01b2721f7a006af2f7eee22593b95076466f5137701

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 ac69b65dd1af0179ede40c9f15788c88f73e628ea6c0519de3838e279bb388c6
MD5 15c01e5fc03bd8dc42ad867039cd25e4
BLAKE2b-256 9df0a70ed6ca4978fdfbdd64fed8ec3961d637cfd522b1efea4ab7101b0d4232

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp34-none-win32.whl
Algorithm Hash digest
SHA256 509a2f05386270cf783993c90d49ffefb3dd62aee45bf1ea8ce3d2cde7271c21
MD5 37e3a2ceee192ad715eef8cb0c799028
BLAKE2b-256 33ccc24fe5b38996360dcc8556dbbe7d175981d534fe2d5f9fbac16b50a81d9d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 b7fdb16a0a7f481be42da744bfe1ea2163025de21f90f2c688a316f3c354da9c
MD5 791c3f8a0f0de8db3759792c4cb2ced7
BLAKE2b-256 f96c6b01922d1667289201367c657febce8e817463f1724493ca8b70afb71136

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 207b8bf0fe0907336df38b733b487521cf9e138189aba9234ad54fe545dd0db8
MD5 5b45d8158de210df861e8ba654a5ff48
BLAKE2b-256 0ce96402c29265d4b4eb4e83205503d44ba09948153e609a069261e5524be9d5

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 594edafe4801c13bdc1cc305e7704a90c19617e95936f6ab457ee4ffe000ba50
MD5 870072b251af387da854137b2910584c
BLAKE2b-256 daba180d110927608c7524cf008f5ce139c8d7c946a7c6ed28e104aaecd5e464

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp33-none-win32.whl
Algorithm Hash digest
SHA256 5edbee71fae5469ee83fe0a37866b9398c8ce3a46325c24fcedfbf097bb48a19
MD5 b5d78ae8f632c1e4b0096e69b71adb7e
BLAKE2b-256 05b610a85abc86fe8b7748eac177a2b60ea9870dca864f91e5a233df51dad07c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp33-cp33m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 c7e76cf3c3d925dd31fa238cfb806cffba718c0f08707d77a538768477969956
MD5 4e30cc8c7a8b6d4b4012e22934ca25bf
BLAKE2b-256 0fd862c9bfaaedc5fbe388b0811a12f0d7a6d4bf2d51c073d3add08243439539

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp33-cp33m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 7d8de35380f31702758b7753bb5c40723832c73006dedb2f9099bf61a37f7287
MD5 b4d9cb9c92e7bdb02f0c477ed5af8a61
BLAKE2b-256 28786227bcfbc0b249c5aac1ff7b752d4b03e310e2af0290905a6e45feb51495

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 8408d29865947109d8b68f1837a7cde1aa4dc86e0f79ca3ba58c0c44e443d6a5
MD5 9315ded90187cf9b72199dad6bf20dec
BLAKE2b-256 ea736ab016ebd009d60d948858a58c716697ce601c64e2a6223604d35764444c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp27-none-win32.whl
Algorithm Hash digest
SHA256 c7b89e42288cc7fbee3812e99ef5c744f22452e11d6822f6807afc6d6b3be83e
MD5 5848c158787f4a59d707db76b93895e6
BLAKE2b-256 d638ef5e39a412a46cd27673f21267386441e3b44994becce60f3ab6673077c1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 6e706c5c6088770b1d1b634e959e21963e315b0255f5f4777125ad3d54082977
MD5 cd6cc3e0f6749220de30106bd152b88f
BLAKE2b-256 d2faaaa46280cdc87e7436609c68286df79a74d58de6b8aab41dea0bfb2fd29f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 f5ebf8e31c48f8707921dca0e994de77813a9c9b9bf03c119c5ddf97bdcffe73
MD5 6549cdceba61e3e2f08587c2bde3d85e
BLAKE2b-256 db09ef9d4d8f9f00c9ae1408a081cff4393ce2fb8f6c04036a4fa4b61a1dfb33

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp26-none-win_amd64.whl
Algorithm Hash digest
SHA256 906c88b2aadcf99cfabb24098263d1bf65ab0c8688acde10dae1f09d865920f1
MD5 6942563ef9e08e7bec6f3fec60c36c9e
BLAKE2b-256 034238e1f26e41e4950f51954bfdcbbd375d4a4736a6a059b4372f4a6b234f23

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp26-none-win32.whl
Algorithm Hash digest
SHA256 a179a38d50f8d68b491d7a313db78f8cabe290842cecddddc7b34d408e59db0a
MD5 f8d6899017b10c1d178cff708ac56e67
BLAKE2b-256 96a8ecc9f8ca6bfc68cc364f747ad74cc3fb25fa2ea92dc831c2057618d63586

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.3-cp26-cp26m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 031938f73a5c5eb3e809e18ff7caeb6865351871417be6050cb8c86a9a202b9a
MD5 16d91a523ffc260076ed554d72e44040
BLAKE2b-256 22bd4110849769a745db74564962ddacfbe5ec1263362d23d43f65921bdb70e9

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