Docsity

Understanding Message Digest and MD5: A Cryptographic Hash Function, Slides of Computer science

Partial preview of the text

Download Understanding Message Digest and MD5: A Cryptographic Hash Function and more Slides Computer science in PDF only on Docsity!

  • Message Digest:MD

What is Message digest?

● A message digest is a cryptographic hash function containing a string of digits created by a one-way hashing formula. ● (^) They designed to protect the integrity of a piece of data or media to detect changes and alterations to any part of a message. ● (^) They are a type of cryptography utilizing hash values that can warn the copyright owner of any modifications applied to their work. ● This term is also known as a hash value and sometimes as a checksum.

Example:

Architecture of MD5:

Step 1: Append the Padding bits

Step 2: Append Length

Here, a 64 bit representation of the original message length is append to the result of the previous step. If the original length is greater than 2^64 ,then only the low-order 64 bits of the length are used for appending two 32 bit words. Then the resulting message is exactly multiple of 512 bits

Step 4: Processing of message blocks

The processing of a message block consists of four similar stages, termed rounds ; each round is composed of 16 similar operations based on a non-linear function F , modular addition, and left rotation. There are four possible functions; a different one is used in each round: Figure illustrates one operation within a round.

Continue…

Thank You