Cryptography General Question:

Download Job Interview Questions and Answers PDF

What are Message Authentication Codes (MACs)?

Cryptography General Interview Question
Cryptography General Interview Question

Answer:

A message authentication code (MAC) is an authentication tag (also called a checksum) derived by application of an authentication scheme, together with a secret key, to a message. MACs are computed and verified with the same key so they can only be verified by the intended receiver, unlike digital signatures. MACs can be categorized as (1) unconditionally secure, (2) hash function-based, (3) stream cipher-based, or (4) block cipher-based.

Simmons and Stinson proposed an unconditionally secure MAC that is based on encryption with a one-time pad. The ciphertext of the message authenticates itself, as nobody else has access to the one-time pad. However, there has to be some redundancy in the message. An unconditionally secure MAC can also be obtained by use of a one-time secret key.

Download Cryptography General Interview Questions And Answers PDF

Previous QuestionNext Question
What Other Hash Functions Are There?What is Shamirs Secret Sharing Scheme?