Skip to main content

Message Authentication Codes

  • Reference work entry
  • First Online:

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   4,499.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD   6,499.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Recommended Reading

  1. Krawczyk H, Bellare M, Canetti R. HMAC: keyed-hashing for message authentication, RFC 2104. Internet Engineering Task Force (IETF), 1997.

    Google Scholar 

  2. Stallings W. Cryptography and network security: principles and practices. 4th ed. Upper Saddle River: Pearson-Prentice Hall; 2006.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Marina Blanton .

Editor information

Editors and Affiliations

Section Editor information

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Science+Business Media, LLC, part of Springer Nature

About this entry

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics