Linux under the shell command, the production of MD5 code is also used in software MD5 check MD5 algorithm is often used to verify the integrity of network file transmission, to prevent files from being tampered with.
MD5 full name is the digest to the algorithm (Message-digest algorithm 5), this algorithm for arbitrary length of information in a bitwise calculation, resulting in a binary length of 128 digits (hexadecimal length is 32 bits) of the "fingerprint" (or "Digest to"), The possibility that different documents produce the same report digest is very, very small.
On Linux or UNIX, md5sum is the tool that is used to compute and validate the document digest. In general, the installation of Linux, there will be md5sum this tool, directly in the command line terminal to run directly. 1, using md5sum to produce fingerprints (message digest)
Commands are as follows: md5sum filename > Filename.md5
or md5sum filename >>filename.md5
can also be a number of documents to output the digest to a MD5 file, this to use the wildcard *, such as a directory with a few zip files, to the several zip files in the summary output to the Zip.md5 file, the command is as follows: Md5sum *.zip > Zip.md52,
Use MD5 Digest to verify the file method: Put the downloaded file files and the file File.md5 Digest to the file in the same directory, and then use the following command to verify: Md5sum-c file.md5 Then if the validation succeeds, then output: Correct for multiple file verification, You can import into Excel using the MD5 values of all files and compare the same. Excel verifies that you can use the same output as C =a=b ture different output false