Skip to main content

cryptography is a package designed to expose cryptographic recipes and primitives to Python developers.

Project description

https://travis-ci.org/pyca/cryptography.png?branch=master https://coveralls.io/repos/pyca/cryptography/badge.png?branch=master

cryptography is a package designed to expose 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.2+, and PyPy.

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-0.2.1.tar.gz (13.8 MB view details)

Uploaded Source

Built Distributions

cryptography-0.2.1-cp33-none-win32.whl (149.8 kB view details)

Uploaded CPython 3.3 Windows x86

cryptography-0.2.1-cp32-none-win32.whl (149.9 kB view details)

Uploaded CPython 3.2 Windows x86

cryptography-0.2.1-cp27-none-win32.whl (149.9 kB view details)

Uploaded CPython 2.7 Windows x86

cryptography-0.2.1-cp26-none-win32.whl (150.7 kB view details)

Uploaded CPython 2.6 Windows x86

File details

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

File metadata

File hashes

Hashes for cryptography-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5b4b93a9841364396ac75ee3f0f4550752821df5a89078c1e16a716339ba39a3
MD5 872fc04268dadc66a0305ae5ab1c123b
BLAKE2b-256 5badbb54a553dfecc78396fc1d10db71991cae57d51b095a50ac2c2bf6c9841b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-0.2.1-cp33-none-win32.whl
Algorithm Hash digest
SHA256 ca1dbd85f99a10cec1436af6b7f27fb1c89197ebd0c54de251c10a5f6e2005db
MD5 81acca90caf8a45f2ca73f3f9859fae4
BLAKE2b-256 84d794380fd98fb5cfa87a59fc2d7212c3a8b2e7b19c4980ed4246bff0c73a4f

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-0.2.1-cp32-none-win32.whl.

File metadata

File hashes

Hashes for cryptography-0.2.1-cp32-none-win32.whl
Algorithm Hash digest
SHA256 5c0eedfec8b0c93fbdb0e9900d37a0249c1f3d722e98b8c602b6d10dc73d0c55
MD5 53f6f57db8e952d64283baaa14cbde3d
BLAKE2b-256 a7f7f6a47e10c0dc0ee4dba507e5601da1248d72ca83d6f0376b305b73cf5fc2

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-0.2.1-cp27-none-win32.whl
Algorithm Hash digest
SHA256 c40b7c3d5af44ece2652b17172e6f706a217aad87d9b798fd7521e8dc6b57cbf
MD5 127d6a5dc687250721f892d55720a06c
BLAKE2b-256 fc081b8eb368f3a73317e9eb6cf098c1e58f19b42223eab3aaafb344c81825ef

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-0.2.1-cp26-none-win32.whl
Algorithm Hash digest
SHA256 4fd1d33a0dae303d8f7276127d1372950a6bfbc505ffad1183204f90d64065bf
MD5 00e733648ee5cdb9e58876238b1328f8
BLAKE2b-256 b489242606db5454029c97d706bcade42c8e024d6d063a5face194db7794a766

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