aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/mac/hmac.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2018-05-12 15:17:06 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2018-05-12 15:17:06 -0400
commit056c9ddc412fb23b81d3192f9f4e2403982ef09a (patch)
treee28eee7ddfe607788cd70a10db7d84735841ec3f /docs/hazmat/primitives/mac/hmac.rst
parent590692fe6a071b3c694ae8966b84b45ece9b1a07 (diff)
downloadcryptography-056c9ddc412fb23b81d3192f9f4e2403982ef09a.tar.gz
cryptography-056c9ddc412fb23b81d3192f9f4e2403982ef09a.tar.bz2
cryptography-056c9ddc412fb23b81d3192f9f4e2403982ef09a.zip
switch to py3 on docs job (#4230)
* switch to py3 on docs job * somehow unicode isn't a word
Diffstat (limited to 'docs/hazmat/primitives/mac/hmac.rst')
-rw-r--r--docs/hazmat/primitives/mac/hmac.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/hazmat/primitives/mac/hmac.rst b/docs/hazmat/primitives/mac/hmac.rst
index a0e2014d..c605e58c 100644
--- a/docs/hazmat/primitives/mac/hmac.rst
+++ b/docs/hazmat/primitives/mac/hmac.rst
@@ -32,7 +32,7 @@ of a message.
>>> h = hmac.HMAC(key, hashes.SHA256(), backend=default_backend())
>>> h.update(b"message to hash")
>>> h.finalize()
- '#F\xdaI\x8b"e\xc4\xf1\xbb\x9a\x8fc\xff\xf5\xdex.\xbc\xcd/+\x8a\x86\x1d\x84\'\xc3\xa6\x1d\xd8J'
+ b'#F\xdaI\x8b"e\xc4\xf1\xbb\x9a\x8fc\xff\xf5\xdex.\xbc\xcd/+\x8a\x86\x1d\x84\'\xc3\xa6\x1d\xd8J'
If the backend doesn't support the requested ``algorithm`` an
:class:`~cryptography.exceptions.UnsupportedAlgorithm` exception will be