Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Doc/library/hmac.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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

Expand Down