In cryptography, a message authentication code (often MAC) is a short piece of information used to authenticate a message and to detect message tampering and forgery.
A MAC algorithm, sometimes called a keyed (cryptographic) hash function, accepts as input a secret key and an arbitrary-length message to be authenticated, and outputs a MAC (sometimes known as a tag). The MAC value protects both a message's data integrity as well as its authenticity, by allowing verifiers (who also possess the secret key) to detect any changes to the message content.
Read more about Message Authentication Code: Security, Message Integrity Codes, Implementation, Standards, Example
Famous quotes containing the words message and/or code:
“No it is better not. She would only ask me to take a message to Albert.”
—Benjamin Disraeli (18041881)
“Wise Draco comes, deep in the midnight roll
Of black artillery; he comes, though late;
In code corroborating Calvins creed
And cynic tyrannies of honest kings;
He comes, nor parlies; and the Town, redeemed,
Gives thanks devout; nor, being thankful, heeds
The grimy slur on the Republics faith implied,
Which holds that Man is naturally good,
Andmoreis Natures Roman, never to be
scourged.”
—Herman Melville (18191891)