blob: a8a1ff301f09b4d0fd1be48305700f7f4bfedea7 [file] [log] [blame]
Alex Gaynoraf82d5e2013-10-29 17:07:24 -07001.. hazmat::
Donald Stufftd8f01182013-10-27 16:59:56 -04002
Alex Gaynor8f42fe42013-12-24 13:15:52 -08003Backends
Donald Stuffte51fb932013-10-27 17:26:17 -04004========
5
Alex Stapletonc5fffd32014-03-18 15:29:00 +00006Getting a backend
Alex Gaynor8f42fe42013-12-24 13:15:52 -08007-----------------
David Reidd5d085e2013-11-25 09:45:52 -08008
Alex Gaynorf8796b12013-12-13 20:28:55 -08009.. currentmodule:: cryptography.hazmat.backends
David Reidd5d085e2013-11-25 09:45:52 -080010
Paul Kehrera4668c62017-05-20 13:25:47 -070011``cryptography`` was originally designed to support multiple backends, but
12this design has been deprecated.
David Reidd5d085e2013-11-25 09:45:52 -080013
Alex Gaynor8f42fe42013-12-24 13:15:52 -080014You can get the default backend by calling :func:`~default_backend`.
David Reidd5d085e2013-11-25 09:45:52 -080015
David Reidd5d085e2013-11-25 09:45:52 -080016
17.. function:: default_backend()
18
19 :returns: An object that provides at least
20 :class:`~interfaces.CipherBackend`, :class:`~interfaces.HashBackend`, and
21 :class:`~interfaces.HMACBackend`.
22
Alex Stapletonc5fffd32014-03-18 15:29:00 +000023Individual backends
Alex Gaynor8f42fe42013-12-24 13:15:52 -080024-------------------
25
26.. toctree::
27 :maxdepth: 1
28
29 openssl
30 interfaces