0
11kviews
Distinguish between Message Authentication Code and Message digest Algorithm

Mumbai University > Electronics and Telecomm > Sem 7 > Data Compression and Encryption

Marks: 5M

1 Answer
3
1.5kviews
Message Authentication code Message Digest Algorithm
A message authentication code algorithm takes two inputs, one is a message and another is a secret key which produces a MAC, that allows us to verify and check the integrity and authentication of the message A message digest algorithm takes a single input, like a message and produces a message digest which helps us to verify and check the integrity of the message
Any change in the secret key, or the message, results in different MAC being generated Any change in the input message, results in different hash being generated
An attacker cannot identify and validate the correct MAC without the secret key An attacker has no clue about the message, once a hash is generated
Most popular MAC are HMAC and MAC using DES in CBC mode Most popular message digest algorithms are MD5 and SHA-1
Please log in to add an answer.