cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
Find a file
2014-04-30 09:07:27 -05:00
.travis Fix installation on travis. Curl doesn't follow redirects 2014-04-25 12:52:04 -07:00
cryptography Merge pull request #962 from reaperhulk/rsa-enc 2014-04-26 22:10:34 -07:00
docs Use the short name in the docs 2014-04-29 18:26:11 -07:00
tests dss_sig_value: Pure python conversion of (r, s) to byte stream 2014-04-30 09:07:27 -05:00
vectors Fix pep8 errors for latest import linter 2014-04-20 22:24:41 +01:00
.coveragerc add library switch for windows support 2014-01-23 20:12:23 -06:00
.gitignore update gitignore to ignore the new so name structure 2014-03-24 07:13:52 -04:00
.travis.yml Try running the OS X builds first and see if it's faster 2014-04-16 10:20:18 -04:00
AUTHORS.rst add my key fingerprint since I've signed a few releases with it 2014-03-28 15:27:52 -05:00
CHANGELOG.rst Merge pull request #962 from reaperhulk/rsa-enc 2014-04-26 22:10:34 -07: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 Alphabetize dev-requirements.txt 2014-04-20 22:05:57 +01:00
LICENSE Initial commit. Migrates over basic project files, and the OpenSSL bindings 2013-08-06 19:31:02 -07:00
MANIFEST.in cryptography.vectors 2014-03-22 16:23:46 +00:00
pytest.ini Rename OpenSSLSerializationBackend 2014-04-25 21:30:57 +01:00
README.rst travis has svg badges now (and they intend to transition png to svg) 2014-03-24 07:22:47 -04:00
setup.py Fix pep8 errors for latest import linter 2014-04-20 22:24:41 +01:00
tasks.py Fix bug in release task and style fixes 2014-03-24 23:05:53 +00:00
tox.ini Fix pep8 errors for latest import linter 2014-04-20 22:24:41 +01:00

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

.. image:: https://travis-ci.org/pyca/cryptography.svg?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 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