mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
gh-72570: mention the incompatibility of XOFs with HMAC (#136676)
This commit is contained in:
parent
5b969fd645
commit
a02cf19dee
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