mirror of https://github.com/python/cpython
#5212: md5 weaknesses do not affect hmac, so remove the note about that.
This commit is contained in:
parent
f3d008737e
commit
531d76b096
|
@ -18,11 +18,6 @@ This module implements the HMAC algorithm as described by :rfc:`2104`.
|
||||||
the digest constructor or module for the HMAC object to use. It defaults to
|
the digest constructor or module for the HMAC object to use. It defaults to
|
||||||
the :func:`hashlib.md5` constructor.
|
the :func:`hashlib.md5` constructor.
|
||||||
|
|
||||||
.. note::
|
|
||||||
|
|
||||||
The md5 hash has known weaknesses but remains the default for backwards
|
|
||||||
compatibility. Choose a better one for your application.
|
|
||||||
|
|
||||||
|
|
||||||
An HMAC object has the following methods:
|
An HMAC object has the following methods:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue