Md5 is a widely used cryptographic hash function, which can generate a hash value of 128 bits (16 bytes) to ensure the integrity and consistency of information transmission. MD5 was designed by American cryptographer Ronald Linn Rivest and published in 1992 to replace MD4 algorithm.
Extended data
The typical application of MD5 is to generate a message digest for a message to prevent it from being tampered with. For example, under Unix, many softwares have a file with the same file name and a file extension of .md5 when downloading. In this file, there is usually only one line of text, and the general structure is as follows:
MD5(tanajiya.tar.gz)= 38 b8 C2 c 1093 dd0 FEC 383 a9 d9 AC 9405 15
This is the digital signature of tanajiya.tar.gz document. MD5 regards the whole file as a big text message, and generates this unique MD5 message digest through its irreversible string transformation algorithm. In order to let readers have an intuitive understanding of the application of MD5, the author briefly describes its working process with an example and an example:
Everyone on the earth has his own unique fingerprint, which often becomes the most reliable way for judicial organs to identify criminals; Similarly, MD5 can generate the same unique "digital fingerprint" for any file, regardless of its size, format and quantity. If someone makes any changes to the file, its MD5 value, that is, the corresponding "digital fingerprint", will change.
Baidu Encyclopedia -MD5