Alex Gaynor | af82d5e | 2013-10-29 17:07:24 -0700 | [diff] [blame] | 1 | .. hazmat:: |
Donald Stufft | d8f0118 | 2013-10-27 16:59:56 -0400 | [diff] [blame] | 2 | |
Donald Stufft | e51fb93 | 2013-10-27 17:26:17 -0400 | [diff] [blame] | 3 | Bindings |
| 4 | ======== |
| 5 | |
Alex Gaynor | 6d02e2d | 2013-09-30 10:37:22 -0700 | [diff] [blame] | 6 | .. toctree:: |
| 7 | :maxdepth: 1 |
| 8 | |
| 9 | openssl |
David Reid | 2a746ce | 2013-11-15 15:32:14 -0800 | [diff] [blame] | 10 | interfaces |
David Reid | d5d085e | 2013-11-25 09:45:52 -0800 | [diff] [blame] | 11 | |
| 12 | |
| 13 | Getting a Backend Provider |
| 14 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 15 | |
Alex Gaynor | f8796b1 | 2013-12-13 20:28:55 -0800 | [diff] [blame] | 16 | .. currentmodule:: cryptography.hazmat.backends |
David Reid | d5d085e | 2013-11-25 09:45:52 -0800 | [diff] [blame] | 17 | |
| 18 | ``cryptography`` aims to support multiple backends to ensure it can provide |
| 19 | the widest number of supported cryptographic algorithms as well as supporting |
| 20 | platform specific implementations. |
| 21 | |
| 22 | You can get the default backend by calling |
| 23 | :func:`~default_backend`. |
| 24 | |
| 25 | The default backend will change over time as we implement new backends and |
| 26 | the libraries we use in those backends changes. |
| 27 | |
| 28 | |
| 29 | .. function:: default_backend() |
| 30 | |
| 31 | :returns: An object that provides at least |
| 32 | :class:`~interfaces.CipherBackend`, :class:`~interfaces.HashBackend`, and |
| 33 | :class:`~interfaces.HMACBackend`. |
| 34 | |