Synonyms
MAC; Message integrity codes
Definition
A message authentication code (MAC) is a short fixed-length value which is used to authenticate a message. A MAC algorithm can roughly be viewed as a hash function that takes as input two functionally distinct values: a secret key and a message. The output of a MAC algorithm is a short string computed in such a way that it is infeasible to produce the correct output on a message without the knowledge of the key. Thus, the MAC value protects both the integrity and authenticity of a message by allowing the entity in possession of the secret key to detect any changes to the message content.
Key Points
While MAC functions have conceptual similarities to keyed cryptographic hash functions, they have specific security requirements for authentication purposes that make them a distinct security tool. More precisely, an attacker who does not have access to the secret key and has not seen the MAC value for a specific message before should not be...
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsRecommended Reading
Krawczyk H, Bellare M, Canetti R. HMAC: keyed-hashing for message authentication, RFC 2104. Internet Engineering Task Force (IETF), 1997.
Stallings W. Cryptography and network security: principles and practices. 4th ed. Upper Saddle River: Pearson-Prentice Hall; 2006.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Section Editor information
Rights and permissions
Copyright information
© 2018 Springer Science+Business Media, LLC, part of Springer Nature
About this entry
Cite this entry
Blanton, M. (2018). Message Authentication Codes. In: Liu, L., Özsu, M.T. (eds) Encyclopedia of Database Systems. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-8265-9_1483
Download citation
DOI: https://doi.org/10.1007/978-1-4614-8265-9_1483
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4614-8266-6
Online ISBN: 978-1-4614-8265-9
eBook Packages: Computer ScienceReference Module Computer Science and Engineering