cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
Find a file
2014-12-18 21:31:59 -08:00
.travis Removed bogus, unused section from travis install script 2014-12-17 07:37:56 -08:00
docs Let people who are curious know how os.urandom is implemented 2014-12-18 21:31:59 -08:00
src/cryptography remove fully deprecated items from 0.6 deprecation cycle 2014-12-18 13:46:51 -06:00
tests Merge pull request #1552 from reaperhulk/deprecation-dance 2014-12-18 18:54:46 -08:00
vectors open master for eighth release development 2014-12-17 21:37:58 -06:00
.coveragerc Use coverage parallel mode and coverage combine to fix paths 2014-11-13 08:17:36 -05:00
.gitignore Hide the eggs! 2014-12-18 11:16:00 -08:00
.travis.yml Change the envvar for tox env to the officla tox one 2014-12-05 17:44:40 -08:00
AUTHORS.rst Added load_ssh_rsa_public_key to hazmat.primitives.serialization to allow for loading of OpenSSH RSA public keys 2014-12-13 08:38:11 -06:00
CHANGELOG.rst fix a typo in the changelog 2014-12-18 07:20:04 -06:00
CONTRIBUTING.rst link the CONTRIBUTING.rst to the development section of our docs 2014-03-02 09:23:46 -04:00
dev-requirements.txt add pyasn1 as a dependency 2014-11-27 09:55:17 -10:00
LICENSE Added new license files. Refs #1209 2014-10-31 07:51:41 -07:00
LICENSE.APACHE Added new license files. Refs #1209 2014-10-31 07:51:41 -07:00
LICENSE.BSD Added new license files. Refs #1209 2014-10-31 07:51:41 -07:00
MANIFEST.in Move the cryptography package into a src/ subdirectory 2014-11-13 07:56:31 -05:00
README.rst Use an SVG for coveralls 2014-12-17 11:07:36 -08:00
setup.py make enum34 installation conditional on python < 3.4 2014-12-18 07:47:34 -06:00
tasks.py Fixed #1372 -- sleep before checking if the build completed to ensure the buidl exists 2014-12-16 09:32:59 -08:00
tox.ini Move config in pytest.ini to tox.ini. 2014-12-14 15:32:16 +08:00

Cryptography
============

.. image:: https://pypip.in/version/cryptography/badge.svg
    :target: https://pypi.python.org/pypi/cryptography/
    :alt: Latest Version

.. image:: https://readthedocs.org/projects/cryptography/badge/?version=latest
    :target: https://cryptography.io
    :alt: Latest Docs

.. image:: https://travis-ci.org/pyca/cryptography.svg?branch=master
    :target: https://travis-ci.org/pyca/cryptography

.. image:: https://img.shields.io/coveralls/pyca/cryptography/master.svg
    :target: https://coveralls.io/r/pyca/cryptography?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:

.. code-block:: pycon

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


.. _`documentation`: https://cryptography.io/
.. _`issue tracker`: https://github.com/pyca/cryptography/issues
.. _`cryptography-dev`: https://mail.python.org/mailman/listinfo/cryptography-dev