blob: a89cf0d5ce5f13dfa94079431546da4a931526e8 [file] [log] [blame]
Alex Gaynoraf82d5e2013-10-29 17:07:24 -07001.. hazmat::
Donald Stufftd8f01182013-10-27 16:59:56 -04002
Donald Stuffte51fb932013-10-27 17:26:17 -04003Bindings
4========
5
Alex Gaynor6d02e2d2013-09-30 10:37:22 -07006.. toctree::
7 :maxdepth: 1
8
9 openssl
David Reid2a746ce2013-11-15 15:32:14 -080010 interfaces
David Reidd5d085e2013-11-25 09:45:52 -080011
12
13Getting a Backend Provider
14~~~~~~~~~~~~~~~~~~~~~~~~~~
15
Alex Gaynorf8796b12013-12-13 20:28:55 -080016.. currentmodule:: cryptography.hazmat.backends
David Reidd5d085e2013-11-25 09:45:52 -080017
18``cryptography`` aims to support multiple backends to ensure it can provide
19the widest number of supported cryptographic algorithms as well as supporting
20platform specific implementations.
21
22You can get the default backend by calling
23:func:`~default_backend`.
24
25The default backend will change over time as we implement new backends and
26the 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