Node:Message Authentication Codes, Next:, Previous:Message Digests, Up:Top

Message Authentication Codes

A message authentication code, or MAC, is akin to a keyed hash function, in that it produces a fixed-length identifier for variable-length data along with a key. The purpose of a MAC is to guarantee the integrity and authenticity of data, as it is computationally infesible to fake a MAC without knowledge of the key. MAC algorithms in GNU Crypto are in the gnu.crypto.mac package, and include: