Home  >  Article  >  How to check md5?

How to check md5?

藏色散人
藏色散人Original
2019-05-07 09:32:0730430browse

Method to check md5: first download the file; then use software to calculate the hash value of the downloaded file; finally compare the calculated string of md5 values.

How to check md5?

The full name of MD5 is Message-DigestAlgorithm5, which was invented by MIT's Computer Science Laboratory and RSADataSecurityInc in the early 1990s and developed from MD2/MD3/MD4 of. The practical application of MD5 is to generate a fingerprint on a Message (byte string), which can prevent it from being "tampered with."

For example, Tiantian Security Network provides downloadable MD5 check value software WinMD5.zip. Its MD5 value is 1e07ab3591d25583eff5129293dc98d2, but after you download the software and calculate the MD5 value, you find that the value is 81395f50b94bb4891a4ce4ffb6ccf64b, which means that the ZIP It has been modified by others, so you can figure it out for yourself whether you still need to use this software.

MD5 is widely used in encryption and decryption technology. In many operating systems, the user's password is saved in the form of MD5 value (or other similar algorithms). When the user logs in, the system saves the user's password. The entered password is calculated into an MD5 value, and then compared with the MD5 value saved in the system to verify the legitimacy of the user.

Method to check md5:

In short, MD5 is Message-Digest Algorithm 5 (Message-Digest Algorithm 5), which is used to ensure complete and consistent information transmission.

When downloading a file, the provider will provide a hash value, such as the md5 value, which is a string of numbers. After we download it, we use software to calculate the hash value. There are many such software, such as hashmyfiles. Use software to Calculate the downloaded file and get a string of md5 values. If the two are compared and consistent, the downloaded file is correct; inconsistency means that the downloaded file is damaged and needs to be downloaded again, or the download is incomplete and needs to be repaired.

The above is the detailed content of How to check md5?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn