cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
Find a file
2014-02-19 16:44:06 -08:00
.travis Docs need virtualenv as well 2014-02-04 17:37:38 -08:00
cryptography a few more methods from x509.h for OpenSSL 2014-02-19 14:13:52 -06:00
docs Merge pull request #621 from public/openssl-pem-vectors 2014-02-19 18:25:12 -06:00
tests Add OpenSSL PEM vector docs 2014-02-19 20:53:21 +00: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 bindings for X509_REQ_get_extensions. 2014-01-29 08:56:07 -08:00
CONTRIBUTING.rst giv eup and use a header 2013-11-12 17:45:30 -08:00
dev-requirements.txt This is also a requirement 2014-01-16 13:19:30 -06: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 Wait for the wheel job to finish building the windows wheels. Refs #506 2014-02-19 16:44:06 -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