Skip to content
Search

Message authentication code

lastmod 2018-08-17created 2015-03-135 edits

A message authentication code (MAC) is a small piece of information used to authenticate a message. A MAC algorithm takes a secret key as input and authenticates a message of arbitrary length. It then outputs a MAC (sometimes known as a tag). The MAC value protects the integrity as well as the data authenticity of a message by allowing verifiers (those who possess the secret key) to check it.

Cryptographic hash function & Message authentication code

Cryptographic hash function & Message authentication code

Common functions

MD5, SHA-1, SHA-2

Functions

FSB, SHA-3, ECOH, GOST, HAS-160, HAVAL, LM hash, MDC-2, MD2, MD4, MD6, N-Hash, RadioGatun, RIPEMD, Snefru, SWIFFT, Tiger, VSH, WHIRLPOOL, crypt (DES)

SHA-3 finalists

BLAKE, Grøstl, JH, Keccak, Skein

MAC algorithms

DAA, CBC-MAC, HMAC, OMAC/CMAC, PMAC, VMAC, UMAC, Poly1305-AES

Authenticated encryption modes

CCM, CWC, EAX, GCM, IAPM, OCB

Attacks

Collision attack, Preimage attack, Birthday attack, Brute force attack, Rainbow table, Distinguishing attack, Side-channel attack

Misc

Avalanche effect, Hash collision, Merkle?Damgard construction, Salt

Standardization

CRYPTREC, NESSIE, NIST hash function competition

See also

Favorite site