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://img.shields.io/coveralls/pyca/cryptography/master.svg

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

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.7.2.tar.gz (247.5 kB view hashes)

Uploaded source

Built Distributions

cryptography-0.7.2-cp34-none-win_amd64.whl (1.1 MB view hashes)

Uploaded cp34

cryptography-0.7.2-cp34-none-win32.whl (909.8 kB view hashes)

Uploaded cp34

cryptography-0.7.2-cp33-none-win_amd64.whl (1.1 MB view hashes)

Uploaded cp33

cryptography-0.7.2-cp33-none-win32.whl (909.7 kB view hashes)

Uploaded cp33

cryptography-0.7.2-cp32-none-win_amd64.whl (1.1 MB view hashes)

Uploaded cp32

cryptography-0.7.2-cp32-none-win32.whl (910.1 kB view hashes)

Uploaded cp32

cryptography-0.7.2-cp27-none-win_amd64.whl (1.1 MB view hashes)

Uploaded cp27

cryptography-0.7.2-cp27-none-win32.whl (910.0 kB view hashes)

Uploaded cp27

cryptography-0.7.2-cp26-none-win_amd64.whl (1.1 MB view hashes)

Uploaded cp26

cryptography-0.7.2-cp26-none-win32.whl (910.8 kB view hashes)

Uploaded cp26

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