Re:Preventing Timing Attacks on String Comparison with Doubl...
by pornel on Sunday November 21, 2021 @02:01PM
(#29298748)
No, `hash(hash(input)) == hash(hash(secret))`.
[ Parent
| on HN ]
Re:Preventing Timing Attacks on String Comparison with Doubl...
by justinsteven on Sunday November 21, 2021 @06:06PM
(#29300691)
No, `hmac(key=key, message=input) == hmac(key=key, message=secret)` where key is either a static secret key for comparison purposes, or random for each comparison.