mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
[3.13] gh-72570: mention the incompatibility of XOFs with HMAC (GH-136676) (#136679)
gh-72570: mention the incompatibility of XOFs with HMAC (GH-136676)
(cherry picked from commit a02cf19dee
)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
This commit is contained in:
parent
592a31369e
commit
8517a890cf
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,9 @@
|
|||
--------------
|
||||
|
||||
This module implements the HMAC algorithm as described by :rfc:`2104`.
|
||||
The interface allows to use any hash function with a *fixed* digest size.
|
||||
In particular, extendable output functions such as SHAKE-128 or SHAKE-256
|
||||
cannot be used with HMAC.
|
||||
|
||||
|
||||
.. function:: new(key, msg=None, digestmod)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue