cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
Find a file
Alex Stapleton 2fb76a3d39 OpenSSL "traditional" key format loading...
Backend interface only.
2014-02-20 19:48:51 +00:00
.travis Docs need virtualenv as well 2014-02-04 17:37:38 -08:00
cryptography OpenSSL "traditional" key format loading... 2014-02-20 19:48:51 +00:00
docs OpenSSL "traditional" key format loading... 2014-02-20 19:48:51 +00:00
tests Merge pull request #644 from reaperhulk/bytes-pkcs-loader 2014-02-20 07:39:28 -08:00
.coveragerc add library switch for windows support 2014-01-23 20:12:23 -06:00
.gitignore Ignore all eggs 2014-01-08 19:39:55 -06:00
.travis.yml Run the doc tests under OS X 2014-02-04 16:50:08 -08:00
AUTHORS.rst Add Hynek's GPG fingerprint 2014-02-20 10:41:29 +01:00
CONTRIBUTING.rst giv eup and use a header 2013-11-12 17:45:30 -08: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 Include the fernet vectors in the sdist 2014-02-01 10:21:45 -08: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 Just drop the classifier entirely 2014-02-07 10:33:27 -08:00
tasks.py python 2.6 2014-02-20 09:32:55 -08:00
tox.ini pass posargs via tox so --backend can be used for tox envs 2014-01-13 21:55:12 -05: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