mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-33604: Remove deprecated HMAC default value marked for removal in 3.8 (GH-7063)
HMAC's digestmod was deprecated marked for removal, this removes it as planned.
This commit is contained in:
parent
78deb7f332
commit
51a4743d19
4 changed files with 13 additions and 33 deletions
|
@ -19,8 +19,7 @@ This module implements the HMAC algorithm as described by :rfc:`2104`.
|
|||
Return a new hmac object. *key* is a bytes or bytearray object giving the
|
||||
secret key. If *msg* is present, the method call ``update(msg)`` is made.
|
||||
*digestmod* is the digest name, digest constructor or module for the HMAC
|
||||
object to use. It supports any name suitable to :func:`hashlib.new` and
|
||||
defaults to the :data:`hashlib.md5` constructor.
|
||||
object to use. It supports any name suitable to :func:`hashlib.new`.
|
||||
|
||||
.. versionchanged:: 3.4
|
||||
Parameter *key* can be a bytes or bytearray object.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue