Skip to main content

cryptography is a package which provides cryptographic recipes and primitives to Python developers.

Project description

Latest Version https://travis-ci.org/pyca/cryptography.svg?branch=master https://coveralls.io/repos/pyca/cryptography/badge.png?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.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

History Node

2.2.2

History Node

2.2.1

History Node

2.2

History Node

2.1.4

History Node

2.1.3

History Node

2.1.2

History Node

2.1.1

History Node

2.1

History Node

2.0.3

History Node

2.0.2

History Node

2.0.1

History Node

2.0

History Node

1.9

History Node

1.8.2

History Node

1.8.1

History Node

1.8

History Node

1.7.2

History Node

1.7.1

History Node

1.7

History Node

1.6

History Node

1.5.3

History Node

1.5.2

History Node

1.5.1

History Node

1.5

History Node

1.4

History Node

1.3.4

History Node

1.3.3

History Node

1.3.2

History Node

1.3.1

History Node

1.3

History Node

1.2.3

History Node

1.2.2

History Node

1.2.1

History Node

1.2

History Node

1.1.2

History Node

1.1.1

History Node

1.1

History Node

1.0.2

History Node

1.0.1

History Node

1.0

History Node

0.9.3

History Node

0.9.2

History Node

0.9.1

History Node

0.9

History Node

0.8.2

History Node

0.8.1

History Node

0.8

History Node

0.7.2

History Node

0.7.1

History Node

0.7

History Node

0.6.1

History Node

0.6

This version
History Node

0.5.4

History Node

0.5.3

History Node

0.5.2

History Node

0.5.1

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
cryptography-0.5.4-cp26-none-win32.whl (832.2 kB) Copy SHA256 hash SHA256 Wheel cp26 Aug 21, 2014
cryptography-0.5.4-cp26-none-win_amd64.whl (1.0 MB) Copy SHA256 hash SHA256 Wheel cp26 Aug 21, 2014
cryptography-0.5.4-cp27-none-win32.whl (831.4 kB) Copy SHA256 hash SHA256 Wheel cp27 Aug 21, 2014
cryptography-0.5.4-cp27-none-win_amd64.whl (1.0 MB) Copy SHA256 hash SHA256 Wheel cp27 Aug 21, 2014
cryptography-0.5.4-cp32-none-win32.whl (831.4 kB) Copy SHA256 hash SHA256 Wheel cp32 Aug 21, 2014
cryptography-0.5.4-cp32-none-win_amd64.whl (1.0 MB) Copy SHA256 hash SHA256 Wheel cp32 Aug 21, 2014
cryptography-0.5.4-cp33-none-win32.whl (831.2 kB) Copy SHA256 hash SHA256 Wheel cp33 Aug 21, 2014
cryptography-0.5.4-cp33-none-win_amd64.whl (1.0 MB) Copy SHA256 hash SHA256 Wheel cp33 Aug 21, 2014
cryptography-0.5.4-cp34-none-win32.whl (831.2 kB) Copy SHA256 hash SHA256 Wheel cp34 Aug 21, 2014
cryptography-0.5.4-cp34-none-win_amd64.whl (1.0 MB) Copy SHA256 hash SHA256 Wheel cp34 Aug 21, 2014
cryptography-0.5.4.tar.gz (320.1 kB) Copy SHA256 hash SHA256 Source None Aug 21, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page