diff --git a/Doc/library/hmac.rst b/Doc/library/hmac.rst index dc994b07c35c007..76cd748f2fb75dc 100644 --- a/Doc/library/hmac.rst +++ b/Doc/library/hmac.rst @@ -26,8 +26,8 @@ This module implements the HMAC algorithm as described by :rfc:`2104`. Parameter *msg* can be of any type supported by :mod:`hashlib`. Parameter *digestmod* can be the name of a hash algorithm. - .. deprecated-removed:: 3.4 3.8 - MD5 as implicit default digest for *digestmod* is deprecated. + .. versionchanged:: 3.8 + Parameter *digestmod* is required. .. function:: digest(key, msg, digest) @@ -106,7 +106,7 @@ A hash object has the following attributes: .. attribute:: HMAC.name - The canonical name of this HMAC, always lowercase, e.g. ``hmac-md5``. + The canonical name of this HMAC, always lowercase, e.g. ``hmac-sha256``. .. versionadded:: 3.4