aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/hmac.rst
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-12-15 22:17:59 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2013-12-15 22:17:59 -0800
commit4a35b7fede2d8e544abfbe9b1ea0d11231da9908 (patch)
tree01ef45be7d510501965717ad4a39fd9c54a19053 /docs/hazmat/primitives/hmac.rst
parentc3f7c37f5718b5deb08edb41125d8c7fb3733cfc (diff)
parentffb7726fa3042e66e8011fbd17a8b6f83f0c8110 (diff)
downloadcryptography-4a35b7fede2d8e544abfbe9b1ea0d11231da9908.tar.gz
cryptography-4a35b7fede2d8e544abfbe9b1ea0d11231da9908.tar.bz2
cryptography-4a35b7fede2d8e544abfbe9b1ea0d11231da9908.zip
Merge branch 'master' into fernet
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)