aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/hmac.rst
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2013-12-15 20:13:02 -0800
committerDonald Stufft <donald@stufft.io>2013-12-15 20:13:02 -0800
commitffb7726fa3042e66e8011fbd17a8b6f83f0c8110 (patch)
tree0535ae742bacf071a19f74fc487a7d1b66cb092f /docs/hazmat/primitives/hmac.rst
parenta14c0fe87e4fbc44f566df0378f5af5a18822cb8 (diff)
parent41e5ab64e9526c1e759034bafb3d75c1492ff54d (diff)
downloadcryptography-ffb7726fa3042e66e8011fbd17a8b6f83f0c8110.tar.gz
cryptography-ffb7726fa3042e66e8011fbd17a8b6f83f0c8110.tar.bz2
cryptography-ffb7726fa3042e66e8011fbd17a8b6f83f0c8110.zip
Merge pull request #308 from alex/rename-bindings
Renamed bindings to backends
Diffstat (limited to 'docs/hazmat/primitives/hmac.rst')
-rw-r--r--docs/hazmat/primitives/hmac.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/hazmat/primitives/hmac.rst b/docs/hazmat/primitives/hmac.rst
index db5e98d3..0c0d0220 100644
--- a/docs/hazmat/primitives/hmac.rst
+++ b/docs/hazmat/primitives/hmac.rst
@@ -27,7 +27,7 @@ message.
.. doctest::
- >>> from cryptography.hazmat.bindings import default_backend
+ >>> from cryptography.hazmat.backends import default_backend
>>> from cryptography.hazmat.primitives import hashes, hmac
>>> h = hmac.HMAC(key, hashes.SHA256(), backend=default_backend())
>>> h.update(b"message to hash")
@@ -41,7 +41,7 @@ message.
provider such as those described in
:ref:`Cryptographic Hashes <cryptographic-hash-algorithms>`.
:param backend: A
- :class:`~cryptography.hazmat.bindings.interfaces.HMACBackend`
+ :class:`~cryptography.hazmat.backends.interfaces.HMACBackend`
provider.
.. method:: update(msg)