cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
Find a file
2015-07-02 00:05:49 -04:00
.travis Switch to codecov.io from coveralls 2015-06-29 08:13:43 -05:00
docs add name constraints vector with /32 and /128 IP networks 2015-07-01 21:17:17 -05:00
src Merge pull request #2093 from reaperhulk/gcm-fix-forever-maybe 2015-07-01 22:23:14 -04:00
tests Improved coverage for tests, handle multiple pytest.mark.supported decorators on one function 2015-07-02 00:05:49 -04:00
vectors add name constraints vector with /32 and /128 IP networks 2015-07-01 21:17:17 -05:00
.coveragerc Use coverage parallel mode and coverage combine to fix paths 2014-11-13 08:17:36 -05:00
.gitignore convert to cffi 1.0 precompile system 2015-06-07 23:27:54 -05:00
.travis.yml Fix is now formally available 2015-06-29 17:46:59 -04:00
AUTHORS.rst Add Glyph to AUTHORS.rst. 2015-06-26 23:38:50 -07:00
CHANGELOG.rst Adds CSR builder. 2015-06-24 13:35:48 -05:00
CONTRIBUTING.rst
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 convert to cffi 1.0 precompile system 2015-06-07 23:27:54 -05:00
README.rst Switch to codecov.io from coveralls 2015-06-29 08:13:43 -05:00
setup.py Remove our workarounds for pyasn.1 bugs, a new pyasn.1 is out! 2015-06-22 20:45:41 -04:00
tasks.py skip the wheel if it's not from the latest build 2015-05-28 23:23:26 -05:00
tox.ini Speed up flake8 by skipping two irrelevant directories 2015-06-21 08:51:52 -04:00

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

.. image:: https://img.shields.io/pypi/v/cryptography.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://codecov.io/github/pyca/cryptography/coverage.svg?branch=master
    :target: https://codecov.io/github/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.3+, 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