Message digest functions

MESSAGE DIGEST FUNCTIONS

Message digest functions also called hash functions, are used to produce digital summaries of information called message digests.

Message digests (also called hashes) are commonly 128 bits to 160 bits in length and provide a digital identifier for each digital file or document.

Message digest functions are mathematical functions that process information to produce a different message digest for each unique document.

Figure: shows the basic message digest process.


For example, to provide data integrity for e-mail messages, message digests can be generated from the completed mail message, digitally signed with the originator's private key. The recipient of the message can then do the following to check the integrity of the message:
  • Use the same message digest function to compute a digest for the message.
  • Use the originator's public key to verify the signed message digest.
  • Compare the new message digest to the original digest.

Uses of Message Digest Functions:-Message digest functions are widely used today for a number of reasons:
  • Message digest functions are much faster to calculate than traditional symmetric key cryptographic functions but appear to share many of their strong cryptographic properties.
  • There are no patent restrictions on any message digest functions that are currently in use.
  • There are no exports or import restrictions on message digest functions.

ATTACKS OF MESSAGE DIGEST FUNCTIONS:

There are two kinds of attacks on message digest functions. The first is finding two messages, any two message, that have the same message digest. The second attack is significantly harder. Given a particular message, the attacker finds a second message that has the same message digest code.

Post a Comment

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.