diff options
Diffstat (limited to 'Doc/library/hmac.rst')
-rw-r--r-- | Doc/library/hmac.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/hmac.rst b/Doc/library/hmac.rst index 0abe421..faaedf4 100644 --- a/Doc/library/hmac.rst +++ b/Doc/library/hmac.rst @@ -1,4 +1,3 @@ - :mod:`hmac` --- Keyed-Hashing for Message Authentication ======================================================== @@ -11,7 +10,7 @@ This module implements the HMAC algorithm as described by :rfc:`2104`. -.. function:: new(key[, msg[, digestmod]]) +.. function:: new(key, msg=None, digestmod=None) Return a new hmac object. If *msg* is present, the method call ``update(msg)`` is made. *digestmod* is the digest constructor or module for the HMAC object to |