You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
hmac.digest() and HMAC(...).digest() disagree when blocksize is smaller than 16 #155428
hmac.digest() and HMAC(...).digest() return DIFFERENT MACs for any digest whose block_size is below 16, because hmac._compute_digest_fallback reads block_size raw while hmac.HMAC._init_old clamps it to 64.
Activity
Lib/hmac.pyandLib/hashlib.py#155413gh-155428: align `hmac.digest` and `hmac.HMAC.digest` outputs when us…
[3.14] gh-155428: align `hmac.digest` and `hmac.HMAC.digest` outputs …
[3.15] gh-155428: align `hmac.digest` and `hmac.HMAC.digest` outputs …