Why does HMAC use the hash twice?
According to the HMAC specification in RFC2104, an HMAC is computed in the following way:
HMAC(K, text) = H(K XOR opad, H(K XOR ipad, text))
where H is the underlying hash function, , is concatenation and K has the length of one block.
No… Continue reading Why does HMAC use the hash twice?