Current location - Quotes Website - Signature design - What is md5?
What is md5?
MD5 (Message Digest Algorithm) 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. The program of this algorithm is standardized in RFC 132 1 standard.

After 1996, this algorithm has been proved to be weak and can be cracked. For data requiring high security, experts generally recommend using other algorithms, such as SHA-2. In 2004, MD5 algorithm was proved to be unable to prevent collisions, so it is not suitable for security authentication, such as SSL public key authentication or digital signature.

The principle of MD5:

The principle of MD5 algorithm can be simply described as follows: MD5 code divides the input information into groups of 5 12 bits, and each group is divided into groups of 16 32 bits. After a series of processing, the output of the algorithm consists of four 32-bit groups, and concatenating these four 32-bit groups will generate a hash value of 128 bits.

Refer to the above content: Baidu Encyclopedia -MD5