• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.. hazmat::
2
3Backends
4========
5
6Getting a backend
7-----------------
8
9.. currentmodule:: cryptography.hazmat.backends
10
11``cryptography`` was originally designed to support multiple backends, but
12this design has been deprecated.
13
14You can get the default backend by calling :func:`~default_backend`.
15
16
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
23Individual backends
24-------------------
25
26.. toctree::
27    :maxdepth: 1
28
29    openssl
30    interfaces
31