cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
Find a file
2015-09-30 19:13:14 +08:00
.travis pypy 2.6.1 has a bug where it can segfault during vector install 2015-09-18 09:37:17 -05:00
docs We test on 3.5 2015-09-25 17:52:06 -04:00
src move two asserts much closer to call site 2015-09-25 18:23:24 -05:00
tests Address comments. 2015-09-30 19:13:14 +08:00
vectors Add NIST Vectors for ANSI X9.63 KDF 2015-09-18 13:23:27 -04:00
.coveragerc Use coverage parallel mode and coverage combine to fix paths 2014-11-13 08:17:36 -05:00
.gitignore Fix .gitignore. 2015-09-26 22:31:53 +08:00
.travis.yml move them above docs job 2015-09-24 22:26:40 -05:00
AUTHORS.rst Adding me to AUTHORS.rst :) 2015-08-12 17:30:05 +01:00
CHANGELOG.rst Some cleanups 2015-09-24 20:23:08 -04: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 Add plumbing for hypothesis. 2015-09-26 22:31:53 +08: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 Fixes #2353 -- document that we need PyPy 2.6+ 2015-09-19 20:57:00 -04:00
setup.py Address comments. 2015-09-30 19:13:14 +08:00
tasks.py skip the wheel if it's not from the latest build 2015-05-28 23:23:26 -05:00
tox.ini Pin version of hypothesis above 1.11.4. 2015-09-27 20:48:43 +08: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 2.6+.

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