cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
Find a file
2014-03-02 09:23:46 -04:00
.travis Docs need virtualenv as well 2014-02-04 17:37:38 -08:00
cryptography Consume errors on InvalidSignature 2014-03-01 23:21:43 +00:00
docs Scrypt is a word 2014-03-01 16:33:02 -08:00
tests Merge pull request #706 from alex/scrypt-vectors 2014-03-01 21:49:24 -04:30
.coveragerc add library switch for windows support 2014-01-23 20:12:23 -06:00
.gitignore Ignore build/ folder and _cffi__*'s 2014-02-27 22:05:00 +11:00
.travis.yml Run the doc tests under OS X 2014-02-04 16:50:08 -08:00
AUTHORS.rst Add myself to AUTHORS.rst 2014-02-25 21:02:55 +11:00
CHANGELOG.rst Add TOTP to the changelog. 2014-02-25 11:06:09 -08: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 requests is now required to do a release 2014-02-19 19:25:12 -08:00
LICENSE Initial commit. Migrates over basic project files, and the OpenSSL bindings 2013-08-06 19:31:02 -07:00
MANIFEST.in don't prune static. why would you do that? 2014-02-24 12:43:44 -06:00
pytest.ini pytest marks for RSA 2014-02-08 09:21:21 -06:00
README.rst Phrase more precisely 2014-02-11 14:21:46 -08:00
setup.py And again. Remove whitespace (pep8) 2014-02-25 19:35:48 +11:00
tasks.py A tiny formatting cleanup 2014-02-20 16:10:53 -08:00
tox.ini Trun off linkcheck, it's too noisy. Fixes #652 2014-02-28 16:37:33 -08:00

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

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

.. image:: https://coveralls.io/repos/pyca/cryptography/badge.png?branch=master
    :target: https://coveralls.io/r/pyca/cryptography?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:

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