Reprinted: http://baike.baidu.com/view/1919192.htm
In Linux, shell commands are used to make MD5 codes for MD5 verification of software. AlgorithmIt is often used to verify the integrity of network file transmission and prevent file tampering. MD5
The full name is the message digest algorithm (Message-Digest algorithm 5), which computes information of any length by bit, generate a "fingerprint" (or "Message Digest") with a binary length of 128 bits (32 bits in hexadecimal format "), different files may generate the same message digest. In Linux or UNIX, md5sum is a tool used to calculate and verify the file message digest. Program. Generally, after Linux is installed, the md5sum tool runs directly on the command line terminal. 1. Run the following command to generate a fingerprint (Message Digest) using md5sum filename:
> Filename. MD5 or md5sum FILENAME> filename. MD5 can also output the packet digest of multiple files to an MD5 file, which uses the wildcard *. For example, there are several ISO files in a directory, output the abstract of these ISO files to ISO. in the MD5 file, the command is as follows: md5sum *. ISO> ISO. MD5 2. Use the MD5 message digest to verify the file. There are two methods: Put the downloaded file and the file of the file. the MD5 packet digest file is placed in the same directory and then verified using the following command:
Md5sum-C file. MD5. If the verification is successful, the md5sum software is also available in win.