cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
Python C Other
Latest commit 31b5d78 Dec 23, 2016 @alex alex committed with reaperhulk Fixed #3334 -- added Python 3.6 support (#3335)
* Fixed #3334 -- added Python 3.6 support

* install py36

* empty commit to retrigger travis

* this is an impressively dumb typo
Permalink
Failed to load latest commit information.
.jenkins add the scripts we use to build the wheels in jenkins to version cont… May 30, 2016
.travis Fixed #3334 -- added Python 3.6 support (#3335) Dec 23, 2016
docs Fixed #3334 -- added Python 3.6 support (#3335) Dec 23, 2016
src add openssl_version_number & doc openssl_version_text (#3329) Dec 22, 2016
tests add openssl_version_number & doc openssl_version_text (#3329) Dec 22, 2016
vectors 1.8 begins (#3311) Dec 12, 2016
.coveragerc properly merge pypy coverage with coveragerc paths Jan 7, 2016
.gitignore Fix .gitignore. Sep 26, 2015
.mention-bot @dstufft is also annoyed by the mentionbot Jan 2, 2016
.travis.yml Fixed #3334 -- added Python 3.6 support (#3335) Dec 23, 2016
AUTHORS.rst updated authors.rst (#3277) Nov 22, 2016
CHANGELOG.rst Fixed #3334 -- added Python 3.6 support (#3335) Dec 23, 2016
CONTRIBUTING.rst link the CONTRIBUTING.rst to the development section of our docs Mar 2, 2014
LICENSE New osrandom_engine in C (#3229) Dec 9, 2016
LICENSE.APACHE Added new license files. Refs #1209 Oct 31, 2014
LICENSE.BSD Added new license files. Refs #1209 Oct 31, 2014
LICENSE.PSF C locking callback (#3226) Nov 13, 2016
MANIFEST.in convert to cffi 1.0 precompile system Jun 8, 2015
README.rst Fixed #3141 -- link some install docs in the readme (#3146) Sep 13, 2016
codecov.yml Migrate to codecov.yml (#2927) May 29, 2016
dev-requirements.txt tox 2.4 has new syntax for specifying extras (#3212) Nov 6, 2016
setup.py Fixed #3334 -- added Python 3.6 support (#3335) Dec 23, 2016
tasks.py move bar.done out of the loop because obviously Nov 8, 2015
tox.ini Fixed #3334 -- added Python 3.6 support (#3335) Dec 23, 2016

README.rst

Cryptography

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.

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.