aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-27 17:00:14 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-28 17:34:37 -0500
commit1bb8b710d444012b7218a08f098a85c4a31ca1bc (patch)
tree91a5e8c1287b56d43ea3daa4f84af318f42994f8 /docs/hazmat
parent00dd509f180b6229cfd4b913274a94df3bc05a00 (diff)
downloadcryptography-1bb8b710d444012b7218a08f098a85c4a31ca1bc.tar.gz
cryptography-1bb8b710d444012b7218a08f098a85c4a31ca1bc.tar.bz2
cryptography-1bb8b710d444012b7218a08f098a85c4a31ca1bc.zip
clean up loader and make docs default to hmac sha256
Diffstat (limited to 'docs/hazmat')
-rw-r--r--docs/hazmat/primitives/hmac.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/hazmat/primitives/hmac.rst b/docs/hazmat/primitives/hmac.rst
index 993e3179..47b88030 100644
--- a/docs/hazmat/primitives/hmac.rst
+++ b/docs/hazmat/primitives/hmac.rst
@@ -27,7 +27,7 @@ message.
.. doctest::
>>> from cryptography.primitives import hashes, hmac
- >>> h = hmac.HMAC(key, hashes.SHA1)
+ >>> h = hmac.HMAC(key, hashes.SHA256)
>>> h.update(b"message to hash")
>>> h.hexdigest()
'...'