
9 Dec
2024
9 Dec
'24
6:03 p.m.
Andrey Semashev wrote:
Also, my understanding of HMAC[1] is that the key is prepended to the subsequent data and then the whole data is hashed. This contradicts with your code calling result() in the middle. Am I missing something?
I don't understand what contradicts what. HMAC is a separate algorithm. https://pdimov.github.io/hash2/doc/html/hash2.html#ref_hmac