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.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.

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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

cryptography-2.1.1-cp36-cp36m-manylinux1_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.6m

cryptography-2.1.1-cp36-cp36m-manylinux1_i686.whl (1.8 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m macOS 10.6+ intel

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

Uploaded CPython 3.5m Windows x86-64

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

Uploaded CPython 3.5m Windows x86

cryptography-2.1.1-cp35-cp35m-manylinux1_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.5m

cryptography-2.1.1-cp35-cp35m-manylinux1_i686.whl (1.8 MB view details)

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m macOS 10.6+ intel

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

Uploaded CPython 3.4m Windows x86-64

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

Uploaded CPython 3.4m Windows x86

cryptography-2.1.1-cp34-cp34m-manylinux1_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.4m

cryptography-2.1.1-cp34-cp34m-manylinux1_i686.whl (1.8 MB view details)

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m macOS 10.6+ intel

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

Uploaded CPython 2.7mu

cryptography-2.1.1-cp27-cp27mu-manylinux1_i686.whl (1.8 MB view details)

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7m Windows x86-64

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

Uploaded CPython 2.7m Windows x86

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

Uploaded CPython 2.7m

cryptography-2.1.1-cp27-cp27m-manylinux1_i686.whl (1.8 MB view details)

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m macOS 10.6+ intel

cryptography-2.1.1-cp26-cp26mu-manylinux1_x86_64.whl (2.2 MB view details)

Uploaded CPython 2.6mu

cryptography-2.1.1-cp26-cp26mu-manylinux1_i686.whl (1.8 MB view details)

Uploaded CPython 2.6mu

cryptography-2.1.1-cp26-cp26m-manylinux1_x86_64.whl (2.2 MB view details)

Uploaded CPython 2.6m

cryptography-2.1.1-cp26-cp26m-manylinux1_i686.whl (1.8 MB view details)

Uploaded CPython 2.6m

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.1.tar.gz
Algorithm Hash digest
SHA256 2699ed21e1f73dd1bdb7b0b22a517295de07809d535b23e200dd22166037fe6f
MD5 fa98118b468020349a798776aac6d572
BLAKE2b-256 bfda6a9f49cc7a970380c8235b3adab0c08c7c3d4814876f7383b33e3882a577

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 bc2eccac62239e8b67987ae4c2a12976da09a6e26366f187749a444cb83a3e3d
MD5 2d9fd6029565f0aa59d67d65e39fc9f8
BLAKE2b-256 d7c2b0e5e16b2be4e244684eb556f8a4cbdefa395ec0cc7d6c49bd6a15f28476

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 8675fd29f0ef468ed87c62a00672b68f9f847126ed6ab0e4d238e9e9b030cedd
MD5 20e96e9da97a6a39b39f1a932abfac55
BLAKE2b-256 ed26fc47baad63414c8e74c80fce488819f4eb3f13dcf0bb08ac773065a747f3

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.1-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-2.1.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 362672bc69fd70e5429a31a10ec295de4e4cb5cf81384427821549b68861d7c5
MD5 289ed0b7fa19d0f13a5a3c120223bc89
BLAKE2b-256 d69c6c41de53a54faa7bb662da756d43f22f6aef7af940b7f78281a0ee416997

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.1-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cryptography-2.1.1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c50481c2645c8dc579119ce768d82cb3022e8e8b4f39abb4946322fed753bf2e
MD5 f5c211d95ab8eb1e2ff5de19eb8da2eb
BLAKE2b-256 a188bcae247f0abef1f94ac5d01f812a88932b36dc566b6162faaaca40d136b0

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.1-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 f3d41cfc5b85cfdeb9cf1f1043c2f32043815c6b97db1c940e4e3c9d0a8ec821
MD5 3f39f38911825a57001d5cb005bb2e65
BLAKE2b-256 1528c3cd809b9493749d304cb27034eee5978962dfe1b446c3a6272d9f42a0e5

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 6b15fcdbdca8dd082edbbc69f144e6fc5e663771f1ed5452ab04de4bb774cb14
MD5 353a806417d3bfc4533124602490f21e
BLAKE2b-256 c957c93708fc8c10416790b094cff77d51011f6fe29f3588ed7530546e8c4262

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 13138c71b5111f3d0c17843865f66c75ef4875e1568229ddfd9e94f96e5624a2
MD5 fe0b90fd86a86c0420af1bbf14cb52d9
BLAKE2b-256 9360ee9ff91965a11f908e86cc3f000b7638fdc890c92b27a7ca3b3e1461d2c9

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.1-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-2.1.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6d4a2a22b4d48b235c0986c9f5c54477bbd5849ca190771ea115dce33e573d65
MD5 7574b36318cc6109a275fefe43532b5b
BLAKE2b-256 a3e446f5373ea7ac5287ecc7a933467fb1fd7943de85114fb9d4a3d29209e2dc

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.1-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cryptography-2.1.1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c797bdc4c91a930d3e7f464d68017b6f5251539f107379277a9b023521f9fe7d
MD5 4f8de1d9f2ed6fd455a2597d6069045e
BLAKE2b-256 2ac2838620dc71650e04580d5618b47b9cd1d9470d6f4f7d2cc5ac69427be406

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.1-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 36b731ed87ab744cadd0f3eeef40ce5bc7cbb5cdd743f0f689e4cc8ad0c227fe
MD5 6e1e789963733add806a4c0b29b4c1a9
BLAKE2b-256 3cd53bcac7e780576cb185ce645124a304f7cc5afabc9b3473c577e47fcec6e5

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 1bebc3123deedd5f9dd4ad5223dc54e4ad95fa54ce22c41b86b8d239bca5fb19
MD5 ddf3ce7e124ea1706792d32b0ae65d46
BLAKE2b-256 e2e8de58a7836c219eda8682440ee5749e7c724baec64294389f6286cbe895ca

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 4008b97d7144ceffd8e4079c52228f3624bcc7fc453cec748134f739981b4a18
MD5 4db7cde37c94df7eb321fd0b453c760a
BLAKE2b-256 c2270d66a2232faa604474cb7d210997fba8b1996df42aeb735acc651e8e3369

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.1-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-2.1.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 111b66fb69b087c3a982152604a20c577316734c4f48fc39e70cc924d1f6c927
MD5 6851f54cfad9837f2fd6d4c82ad18887
BLAKE2b-256 d81e027c3061c6c77f92cdf9a88de41df8a2f3ee172b0eff853b34a053ef0ecf

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.1-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cryptography-2.1.1-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 1f17b32fd4873b59b33c05ad238584fc83ee43cc019c64fa2101e7b3fa6333bd
MD5 c2a4dea0f27b33b4ffe1fec322ea37a6
BLAKE2b-256 3733c3346e7a7eb0e929e8cc532279667f988d755ac8176633583ab9624984b6

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.1-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 d8923f90a6957c4bd65e8aa3ee29b372ee2b38bf67eeaa8b78005d51c703d5b1
MD5 4996304ed0657cc07e624702c12d2c52
BLAKE2b-256 64a7f5909255d76e9c50b9d18a17ca8ac0a70c3321ede4626a9bfd91b8dd50fb

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a481305ad61e0df657482f44d228e965c6dc9c828d3b9549ee4b56f653a7eafe
MD5 f1ceaed56a5e1e7e7b6352af7b3b877a
BLAKE2b-256 a0cdf23a1eaff8d08fa153a019443b388796c65494fc8963b402782b16430e6e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.1-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d06982b636fc7c1ccbc5f1bfc9f832a0aeaa255d9dc991049e161157d7206c25
MD5 43a7cdacb4f00791e5c5c9d2a1ac7470
BLAKE2b-256 3dce453c487c76c9d3ee354a434d42319f812ed50b8d597f0cf88760a91a27c0

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 05cfb7dd9d885e635714d610f1b45abf4832007d48d01312c5dbdf664e33f5f7
MD5 289e39da46cc08eb7ccb954dc9018e82
BLAKE2b-256 b57b63e106f5bec341308d8ba51c4c3e4743e4180e2cdeaa97da0e6959442e13

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 71d63ffeb8af430934b3df6492826c27ad8af9a6ce7d3193bf91f28610621b14
MD5 39289862f5ef4415b03de66ae9499f4d
BLAKE2b-256 c0344e69a3609965e33418b682dd622551c56d196c10d82f962282c97ed5bbf9

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 066f10b5c578f634b8018686ac143a45c31367f28221455b89e33e89e2b08229
MD5 cdeb84cbfb27d38b5217c90dc63f84a8
BLAKE2b-256 6bc7c2b3a6c64d04a53066b6947e57133457f4ee87ab332af05702f88f36008d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.1-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7cf2e5589fd96151479b51145a0f6c35d9a067dfaddedc2b22645a01c0556cb1
MD5 38ffa09462769b0cdcb5d818ed7f3d5f
BLAKE2b-256 ddfff8aecb67578edcb8720cbb774187a02ff631debb129a89b75c2a34f010ec

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.1-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 7241a25e44592d46d80c50878c09659a118c29a88b62f4e42d25be387dd4cca1
MD5 34ddc4afe6145a96049d80f382de833b
BLAKE2b-256 2234550867eaf108fe91e0b3db415acb78ba1019faee76b115f2cded7d0c5d3e

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.1-cp26-cp26mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-2.1.1-cp26-cp26mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f86b60f952aa9447e492f15c418ff7da6e863270afb67e817d268076bf187115
MD5 b45760cbc28e1f8d45508e79c42f717c
BLAKE2b-256 128bfc515561ebe9cea1eb1d48b09b5cdff4164966b68c13fa6c04aec205f9eb

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.1-cp26-cp26mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cryptography-2.1.1-cp26-cp26mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 982e53d8057f800e610ff7fb54ca78d2fafe5f9564dfa784971828cc9973330a
MD5 3fe9222bd2f843c9b4de2c285d166dea
BLAKE2b-256 0822d5c41e5cdca69906e0c49e228cb140d8e0c2132c179d19a45523c342e939

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.1-cp26-cp26m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-2.1.1-cp26-cp26m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 407b5716a7b6f56a534e327d4daab6d958c993fcae9de7b391b4111dae7df81f
MD5 fe15c0123540185d9a7d6b8712a26b9b
BLAKE2b-256 8363dafc14861b9950ad5c0ba0b4558d3b6ecb9a843107b3fd5755a74f1b2ac6

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.1-cp26-cp26m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cryptography-2.1.1-cp26-cp26m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 4d9223a76e1064220e8f2a67a7cf5835f3650f3d6bca6d2df3f51bc3541a91b4
MD5 3cc84cc6a47ef71fcd5e960d97a9c79e
BLAKE2b-256 6cc7c59e37c086e50ce3b9009cd9e05ca67e5f7eaf84391f0d080a7c5d0498a5

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