COMMITS
/ Lib/hmac.py December 14, 2025
B
gh-142451: correctly copy HMAC attributes in `HMAC.copy()` (#142510)
Bénédikt Tran committed
July 26, 2025
B
gh-136912: fix handling of `OverflowError` in `hmac.digest` (#136917)
Bénédikt Tran committed
July 20, 2025
B
gh-136787: improve exception messages for invalid hash algorithms (#136802)
Bénédikt Tran committed
April 12, 2025
B
gh-132388: Increase test coverage for HMAC (#132389)
Bénédikt Tran committed
April 4, 2025
B
gh-99108: Implement HACL* HMAC (#130157)
Bénédikt Tran committed
March 17, 2025
B
gh-130149: cleanup refactorization of `test_hmac.py` (#131318)
Bénédikt Tran committed
December 12, 2023
S
gh-112999: Replace the outdated "deprecated" directives with "versionchanged" (GH-113000)
Serhiy Storchaka committed
March 27, 2021
C
bpo-40645: use C implementation of HMAC (GH-24920)
Christian Heimes committed
May 27, 2020
C
bpo-40791: Use CRYPTO_memcmp() for compare_digest (#20456)
Christian Heimes committed
May 16, 2020
C
bpo-40645: Deprecated internal details of hmac.HMAC (GH-20132)
Christian Heimes committed
October 18, 2019
G
bpo-33604: Raise TypeError on missing hmac arg. (GH-16805)
Gregory P. Smith committed
September 10, 2018
M
bpo-33604: Remove deprecated HMAC default value marked for removal in 3.8 (GH-7063)
Matthias Bussonnier committed
May 22, 2018
M
bpo-33604: Remove Pending from hmac Deprecation warning. (GH-7062)
Matthias Bussonnier committed
January 27, 2018
C
bpo-32433: Optimized HMAC digest (#5023)
Christian Heimes committed
September 11, 2016
S
Use sequence repetition instead of bytes constructor with integer argument.
Serhiy Storchaka committed
November 20, 2013
C
Issue #18775: Add name and block_size attribute to HMAC object. They now
Christian Heimes committed
C
Issue #17276: MD5 as default digestmod for HMAC is deprecated. The HMAC
Christian Heimes committed
July 1, 2013
C
Issue 18240: The HMAC module is no longer restricted to bytes and accepts
Christian Heimes committed
April 20, 2013
A
Issue #16694: Add a pure Python implementation of the operator module.
Antoine Pitrou committed
June 30, 2012
A
Issue #15225: improve error message when hmac is passed a wrong key type.
Antoine Pitrou committed
June 24, 2012
C
Issue #15061: Re-implemented hmac.compare_digest() in C
Christian Heimes committed
June 15, 2012
May 13, 2012
C
Issue #14532: Add a secure_compare() helper to the hmac module, to mitigate
Charles-François Natali committed
October 28, 2011
F
Closes #13258: Use callable() built-in in the standard library.
Florent Xicluna committed
August 21, 2010
B
speed hack can be implemented more cleanly by directly calling __new__
Benjamin Peterson committed
B
use blank object instead
Benjamin Peterson committed
B
remove outdated comment
Benjamin Peterson committed
March 3, 2008
A
Fixed failing unit tests due to str/bytes mismatch.
Alexandre Vassalotti committed
November 6, 2007
G
Merged revisions 58862-58885 via svnmerge from
Guido van Rossum committed
August 27, 2007
G
Changes in anticipation of stricter str vs. bytes enforcement.
Guido van Rossum committed
July 10, 2007
G
Make hmac use bytes. Make test_hmac pass.
Guido van Rossum committed
May 22, 2007
G
Merged revisions 55407-55513 via svnmerge from
Guido van Rossum committed
May 7, 2007
G
Merged revisions 55007-55179 via svnmerge from
Guido van Rossum committed
January 9, 2007
T
Merged revisions 53005-53303 via svnmerge from
Thomas Wouters committed
August 21, 2005
G
[ sf.net patch # 1121611 ]
Gregory P. Smith committed
March 20, 2004
T
Speed HMAC.copy() by installing a secret backdoor argument to
Tim Peters committed
June 3, 2002
W
Remove uses of the string and types modules:
Walter Dörwald committed
June 1, 2002
R
Replace boolean test with is None
Raymond Hettinger committed
May 31, 2002
R
Replace '== None' with 'is None'
Raymond Hettinger committed
November 13, 2001
T
Whitespace normalization.
Tim Peters committed
November 2, 2001
A
[Patch #477336] Make hmac.py match PEP247, and fix the copy method() so that
Andrew M. Kuchling committed
September 18, 2001
T
Whitespace normalization.
Tim Peters committed
September 11, 2001
G
HMAC algorithm as described by RFC 2104, by Gerhard Häring (SF patch
Guido van Rossum committed