Message Authentication Codes
Message Authentication Codes
复制标题
DOI:
10.1002/9781118722367.ch6
复制
发表时间:
2015-10
期刊:
影响因子:
--
通讯作者:
N. Ferguson;B. Schneier;Tadayoshi Kohno
中科院分区:
文献类型:
--
作者:
N. Ferguson;B. Schneier;Tadayoshi Kohno
A message authentication code, or MAC, is a construction that detects tampering with messages. A MAC is a function that takes two arguments, a fixed‐size key K and an arbitrarily sized message m, and produces a fixed‐size MAC value. There are various ways to define the security of a MAC. The chapter describes the authors' definition based on the notion of an ideal MAC function, similar to the notion of an ideal block cipher. CBC‐MAC is a classic method of turning a block cipher into a MAC. CMAC works almost exactly like CBC‐MAC, except it treats the last block differently. The HMAC construction is neat, efficient, and easy to implement and widely used with the SHA‐1 hash function. NIST recently standardized a new MAC, called GMAC, a very efficient in hardware and software designed for 128‐bit block ciphers.