MD5 introduction Baidu Encyclopedia;
The summary is as follows:
The MD5 checksum (checksum) checks the correctness of the data by performing a hash operation on the received transmitted data.
A hash function, such as MD5, is a one-way operation that translates arbitrary-length data strings into short fixed-length values. Any two strings should not have the same hash value (that is, there is "very big possibility" is not the same, and to artificially create two hash values of the same string should be difficult). A MD5 checksum (checksum) checks the correctness of the data by performing a hash operation on the received transmitted data. The computed hash value is compared with the hash value of the data transfer. If the two values are the same, the transmitted data is intact and not altered (provided the hash value has not been tampered with) so that it can be used with confidence. MD5 verification can be applied in many areas, such as the inspection of confidential data, the examination of downloaded files, the encryption of plaintext passwords, etc. making MD5 checks on files Windows supports the validation of various algorithms for the file. The supported algorithms are: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512; Use the Win+r shortcut key to open the CMD Command window and use the Certutil-hashfile [file path] [algorithm] to make a corresponding MD5 check on the file. as shown in the following:
Compute the MD5 checksum using C + +:
Reference Link: 8788069
MD5 Introduction and MD5 check the file under Windows.