Alex Gaynor | 1abfac7 | 2013-08-07 12:59:04 -0700 | [diff] [blame] | 1 | Welcome to ``cryptography`` |
| 2 | =========================== |
| 3 | |
Alex Gaynor | 66ba601 | 2013-10-28 10:11:21 -0700 | [diff] [blame] | 4 | ``cryptography`` is a Python library which exposes cryptographic recipes and |
Alex Gaynor | 31df535 | 2013-12-12 18:03:26 -0800 | [diff] [blame] | 5 | primitives. We hope it'll be your one-stop-shop for all your cryptographic |
| 6 | needs in Python. |
| 7 | |
| 8 | Installing |
| 9 | ---------- |
| 10 | |
| 11 | We don't yet have a release on PyPI, for now you can install ``cryptography`` |
| 12 | directly from Github: |
| 13 | |
| 14 | .. code-block:: console |
| 15 | |
| 16 | $ pip install git+https://github.com/pyca/cryptography |
Alex Gaynor | c62e91f | 2013-08-06 19:25:52 -0700 | [diff] [blame] | 17 | |
Alex Gaynor | 9f3468d | 2013-08-11 08:17:48 -0400 | [diff] [blame] | 18 | Why a new crypto library for Python? |
| 19 | ------------------------------------ |
| 20 | |
Alex Gaynor | 31df535 | 2013-12-12 18:03:26 -0800 | [diff] [blame] | 21 | If you've done cryptographic work in Python before, you've probably seen some |
| 22 | other libraries in Python, such as *M2Crypto*, *PyCrypto*, or *PyOpenSSL*. In |
| 23 | building ``cryptography`` we wanted to address a few issues we observed in the |
| 24 | existing libraries: |
Alex Gaynor | 9f3468d | 2013-08-11 08:17:48 -0400 | [diff] [blame] | 25 | |
Alex Gaynor | d8d91d4 | 2013-08-12 09:33:18 -0400 | [diff] [blame] | 26 | * Lack of PyPy and Python 3 support. |
Alex Gaynor | d6bef56 | 2013-08-11 09:09:28 -0400 | [diff] [blame] | 27 | * Lack of maintenance. |
Alex Gaynor | ec4ba73 | 2013-08-11 08:19:05 -0400 | [diff] [blame] | 28 | * Use of poor implementations of algorithms (i.e. ones with known side-channel |
Alex Gaynor | d6bef56 | 2013-08-11 09:09:28 -0400 | [diff] [blame] | 29 | attacks). |
| 30 | * Lack of high level, "Cryptography for humans", APIs. |
| 31 | * Absence of algorithms such as AES-GCM. |
| 32 | * Poor introspectability, and thus poor testability. |
Alex Gaynor | f0d139a | 2013-08-11 09:13:27 -0400 | [diff] [blame] | 33 | * Extremely error prone APIs, and bad defaults. |
Alex Gaynor | 9f3468d | 2013-08-11 08:17:48 -0400 | [diff] [blame] | 34 | |
| 35 | |
Alex Gaynor | 3538fdb | 2013-08-11 08:18:40 -0400 | [diff] [blame] | 36 | Contents |
| 37 | -------- |
Alex Gaynor | c62e91f | 2013-08-06 19:25:52 -0700 | [diff] [blame] | 38 | |
| 39 | .. toctree:: |
Alex Gaynor | 1abfac7 | 2013-08-07 12:59:04 -0700 | [diff] [blame] | 40 | :maxdepth: 2 |
| 41 | |
Alex Gaynor | 333fb10 | 2013-10-31 10:27:35 -0700 | [diff] [blame] | 42 | fernet |
Alex Gaynor | 1abfac7 | 2013-08-07 12:59:04 -0700 | [diff] [blame] | 43 | architecture |
Alex Gaynor | f1a3fc0 | 2013-11-02 14:03:34 -0700 | [diff] [blame] | 44 | exceptions |
Alex Gaynor | 8c9dcb3 | 2013-11-03 13:10:57 -0800 | [diff] [blame] | 45 | glossary |
Alex Gaynor | c72e63f | 2013-09-09 21:44:26 -0700 | [diff] [blame] | 46 | contributing |
Alex Gaynor | 99b69d9 | 2013-10-19 17:52:58 -0700 | [diff] [blame] | 47 | security |
Alex Gaynor | ddd90c1 | 2013-08-07 13:10:32 -0700 | [diff] [blame] | 48 | community |
Donald Stufft | f04317a | 2013-10-27 16:44:30 -0400 | [diff] [blame] | 49 | |
Donald Stufft | 0a1550e | 2013-10-28 12:13:33 -0400 | [diff] [blame] | 50 | Hazardous Materials |
| 51 | ------------------- |
Donald Stufft | f04317a | 2013-10-27 16:44:30 -0400 | [diff] [blame] | 52 | |
| 53 | .. toctree:: |
| 54 | :maxdepth: 2 |
| 55 | |
| 56 | hazmat/primitives/index |
Alex Gaynor | f8796b1 | 2013-12-13 20:28:55 -0800 | [diff] [blame] | 57 | hazmat/backends/index |