MAC

A short tag computed from a message and a secret key, which lets the receiver check the message is unchanged and came from a key holder.

In more detail

MAC stands for message authentication code. Unlike a plain hash, which anyone can recompute after editing a message, a MAC needs the secret key, so outsiders cannot forge it. HMAC is the most common kind, and authenticated encryption produces a similar tag. Because sender and receiver share the key, a MAC gives integrity and authenticity between them but not non-repudiation. In networking the same letters also name a hardware address, which is unrelated.

Related terms

Taught in

References