Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit45b72c4

Browse files
[3.14]gh-72570: mention the incompatibility of XOFs with HMAC (GH-136676) (#136678)
gh-72570: mention the incompatibility of XOFs with HMAC (GH-136676)(cherry picked from commita02cf19)Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent2ae0eb1 commit45b72c4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎Doc/library/hmac.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
--------------
1313

1414
This module implements the HMAC algorithm as described by:rfc:`2104`.
15+
The interface allows to use any hash function with a *fixed* digest size.
16+
In particular, extendable output functions such as SHAKE-128 or SHAKE-256
17+
cannot be used with HMAC.
1518

1619

1720
..function::new(key, msg=None, digestmod)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp