HMAC

  • HMAC

    HMAC (hash-based message authentication code) is a keyed hash: a function of a message and a secret key that produces a fixed-size tag. Without the key, an attacker cannot feasibly forge a tag for a new message. A tag also resists offline guessing of the message when the attacker cannot obtain tags for candidate messages under the same key. It is specified in RFC 2104.