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

Uploaded Source

Built Distributions

cryptography-1.1.1-pp27-none-macosx_10_10_x86_64.whl (1.1 MB view details)

Uploaded PyPy macOS 10.10+ x86-64

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

Uploaded CPython 3.5 Windows x86-64

cryptography-1.1.1-cp35-none-win32.whl (878.2 kB view details)

Uploaded CPython 3.5 Windows x86

cryptography-1.1.1-cp35-cp35m-macosx_10_10_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.5m macOS 10.10+ x86-64

cryptography-1.1.1-cp35-cp35m-macosx_10_6_intel.whl (1.3 MB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

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

Uploaded CPython 3.4 Windows x86-64

cryptography-1.1.1-cp34-none-win32.whl (874.1 kB view details)

Uploaded CPython 3.4 Windows x86

cryptography-1.1.1-cp34-cp34m-macosx_10_10_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.4m macOS 10.10+ x86-64

cryptography-1.1.1-cp34-cp34m-macosx_10_6_intel.whl (1.3 MB view details)

Uploaded CPython 3.4m macOS 10.6+ intel

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

Uploaded CPython 3.3 Windows x86-64

cryptography-1.1.1-cp33-none-win32.whl (874.2 kB view details)

Uploaded CPython 3.3 Windows x86

cryptography-1.1.1-cp33-cp33m-macosx_10_10_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.3m macOS 10.10+ x86-64

cryptography-1.1.1-cp33-cp33m-macosx_10_6_intel.whl (1.3 MB view details)

Uploaded CPython 3.3m macOS 10.6+ intel

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

Uploaded CPython 2.7 Windows x86-64

cryptography-1.1.1-cp27-none-win32.whl (874.5 kB view details)

Uploaded CPython 2.7 Windows x86

cryptography-1.1.1-cp27-none-macosx_10_10_intel.whl (2.2 MB view details)

Uploaded CPython 2.7 macOS 10.10+ intel

cryptography-1.1.1-cp27-none-macosx_10_6_intel.whl (1.3 MB view details)

Uploaded CPython 2.7 macOS 10.6+ intel

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

Uploaded CPython 2.6 Windows x86-64

cryptography-1.1.1-cp26-none-win32.whl (875.3 kB view details)

Uploaded CPython 2.6 Windows x86

cryptography-1.1.1-cp26-none-macosx_10_10_intel.whl (2.2 MB view details)

Uploaded CPython 2.6 macOS 10.10+ intel

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1.tar.gz
Algorithm Hash digest
SHA256 2912923af7455fb2d2439a037242507c12caece7dd6659d62fa82a61edb2bae0
MD5 6ec05b916c52d8668cd3a3f6f1cea084
BLAKE2b-256 071da03ccfea4f53707d135e8939a85ec945cb3e5e07ba0a8df04de707e2f599

See more details on using hashes here.

File details

Details for the file cryptography-1.1.1-pp27-none-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-1.1.1-pp27-none-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 be363822f09126a52f1f223cd407ac63d6dc3e35c7e283de8a92ea2625cdffae
MD5 85c72c46526ea015a47740ba768799a9
BLAKE2b-256 3a46e12fce367b9b8a6a330da2fbf7e5e285bc1a79f0e7a6ecf0f4d71c774265

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 9640b4e1391789680052d25915cac3b0f74d0bc97cb63ff6e9ab5273d2301660
MD5 2f67d1cae99fdd57b685e51228c7c354
BLAKE2b-256 25e2967208541b88ff3cbaf9433a8e03c4a5ca92840bf31e9cd770bad1109b3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp35-none-win32.whl
Algorithm Hash digest
SHA256 5a2046bcbd86fc6390daf952275acb4884ee3d0da54c7f816aada56bbe3953c5
MD5 094beb33c8052dfcfddd4cbdc0e981ce
BLAKE2b-256 a2cece8abfdbc8dc52dbb76a6a21c51b50cc556aeca228dc993312467def0ab9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 b73d8f29317ed652b4b360efc3e20f2cce57e4461393f4937cc231d083ad2f2c
MD5 ef55f5d9de256fea9b2810930603a691
BLAKE2b-256 3b195af9e834aaa277e33ef3557d77a920c45338dded2ced5cb61301ef6978e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 2787aa0327e70fc6d06d0b03be0a7dee191430b13d8f5847a0240c6e68cca5e1
MD5 4a1cdcce649596099569d2a4f6416a36
BLAKE2b-256 a4fb356e8bb7b80e62796d4afbd51f3d7d0a078a7f5144f9cc8b2f8400d76ff9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 5584a75395a0244efdd103d87b98e7abaf10f02e21fd5db5c8e7f9d8dfa0d9b1
MD5 e75527dd9da7d4d44b8872d280eb4c0c
BLAKE2b-256 2edb0a32d44b139b4b5ab7026afe00c1cf8391b3b2c289da3d3925c77a90659b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp34-none-win32.whl
Algorithm Hash digest
SHA256 07cf0917e4fcffe987fc367112b2bd818cba97562639fb13bff9a83a038a0a54
MD5 477132353dda8a170ba430c230ec417c
BLAKE2b-256 d9375cb462442dc8048d6dfceb0792b035fcd72a0a1e5571349418ce4efc0fff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 2c2dabc6650e2ea8fcd84f85a9b6d370264c5a23b6b4bd5a00766fec04b331a4
MD5 ec062b05188dd05f43015698397bce20
BLAKE2b-256 e978649d929af653a5bed1b4de5da0e6287fb756c626a8cd65bc6b40ac01c80b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 80c363f62edac1372fbb51d4a8d451f3e066baf10645d8c199d0a71650313ed0
MD5 26a2a27068f954a97468613a8ec6c3b9
BLAKE2b-256 631fa92e878374ce0017791e84a7dbe3a9da70433e257bd8de4bbae6873acaaf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 ed3ba8f58f8cef5ac72970785bad664383b243bca1ada3a1001f2671e084bf60
MD5 213c02aaa03a6296894085554354ba6f
BLAKE2b-256 b0965583ef2f060d8abf859ee8ce6137bdd792b0b3fe2c4a062a64e4750bb98f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp33-none-win32.whl
Algorithm Hash digest
SHA256 d6f738d0269cd78f5048243da8f14d37d608479819ead6ffb59e6b64c7526722
MD5 5a98294051733d1d3b11daa1ef18e348
BLAKE2b-256 b5ea4ca28e37eb34766e6116dc96bcec5efb15fb4e31f5054cee3aa48bb1108b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp33-cp33m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 3d6979092bedbe6dd910caf58e76e231311600a0dc0a8298a6b75a5081c2efec
MD5 2321812e5262b7963853a91cbba57505
BLAKE2b-256 dcb2371bda4ca95ecdb76ee0293651bdec915164a557b41bd76e1710036ba9b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp33-cp33m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 7b9bdca4a90e988ec861bbf3b170792ecb419f3554ab53d6cb9bf44e7ea88df7
MD5 061d3f182cb6b4918bf1292926a1f67c
BLAKE2b-256 c3fbb943bab5d01a31d7265cde1b8848f483633d7316abe2b0861bc56642501a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 d96a81411e37ed70a865d936972ab982e84f56494a0d4982f2c18b080ec4d7a7
MD5 09fad3aab1f3a63a37aed4d4f2a497b1
BLAKE2b-256 2e1b9bb909d96e67382296d3a17dbbefc9f0e8c63606b18c685a91a1228d2abb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp27-none-win32.whl
Algorithm Hash digest
SHA256 8e0d8ac3cdc6aeaf02e592bf943349437387ce936512f7bae0ee2b3efea0b989
MD5 d173a9893bc6766745c2c55d11b42125
BLAKE2b-256 af4acf64fd9b0e73aa25dd78aed666dc38ff2a90bf3795a8b64865033a97e166

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp27-none-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 1af95cf90097648452915ca2d62dde72133f84be4745b8c617b884eb83b39a1a
MD5 5cce5326a4b7d6d345f4a21043971b5b
BLAKE2b-256 e9ec87b9f9b23de15d99a5b49970c30be5c38ef5cefe99cbd50a98d7b8175580

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp27-none-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 00be5470e70f8726418dfd7caa14da4b4a0d1fe780934504cf2aa47c490b6eb4
MD5 1eff805aa160ec369dbbc800efa0c670
BLAKE2b-256 2508147c6ffb13a69d8f0ac7dd7e37bb7d6c33d424d1d09c166af4dc24c00644

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp26-none-win_amd64.whl
Algorithm Hash digest
SHA256 6a04856cd91c0d5dbed1df89f2ab0a068e2418c6c2862a978d339a3e969712c3
MD5 9000755653306007566d18fae8ef8d80
BLAKE2b-256 9666614103b5e6f11fd213c56d02e516273f33a14813ae2c2900ab8d6f55d134

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp26-none-win32.whl
Algorithm Hash digest
SHA256 17e0b2a296eae53a8a2320712c0d9f5e32645239e50ae2c0c70893a0bf3c6672
MD5 22d253b598e2674ac43d4f405e7408d7
BLAKE2b-256 e9d55acaafbab48bb2a03568685ad285be3c38f7ce8dc84aa1e4ae00886f10b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.1-cp26-none-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 aef69435547a59d9a663457b85bd82b505ce382db882f840796b24195e908d43
MD5 f486ac94244b6add088227deaa082832
BLAKE2b-256 cd5613cd5cbeb46df0b8be86aa6f26a59e1adb480569451f295093b5e68522e7

See more details on using hashes here.

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