gh-72570: mention the incompatibility of XOFs with HMAC (#136676)

This commit is contained in:
Bénédikt Tran 2025-07-15 14:03:21 +02:00 committed by GitHub
parent 5b969fd645
commit a02cf19dee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)