Message Digest 5 (MD5)

Read this article about MD5, a hash function. You should learn who developed MD5 and note the approximate year. Pay attention to the purposes of MD5, the size of the output, and why it is no longer used for digital certificates.

MD5 is a popular Hash Function used by many people around the world. Developed by Professor Ronald L. Rivest of MIT

It has two purposes:

  1. Verify the integrity of a file after a specified period of time
  2. Generate Hash values for a certain piece of data ( Ex: file) and store them, for later cross-checking if the file has been modified or not (this is in essence the 1st point stated above)

For example, on a system that has a file called "SAMPLE.TXT" the MD5 hash would look like this:

filename hash value
C:\SAMPLE.TXT BC8FEFECA210FC0C0F3EBC1614A37889

 

MD5 takes as input a message of arbitrary length and produces as output a 128- bit "fingerprint" or "message digest" of the input. It is conjectured that it is computationally infeasible to produce any message having a given prespecified target message digest. The MD5 algorithm was intended for digital signature applications, where a large file must be "compressed" in a secure manner before being signed with a private (secret) key under a public-key cryptosystem such as RSA. However, practical attacks on the collision resistance of MD5 exist, and it should therefore not be used with digital signatures or any other application requiring collision resistance.


Source: https://en.wikibooks.org/wiki/Cryptography/MD5
Creative Commons License This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.

Last modified: Thursday, April 15, 2021, 3:49 PM