|
How to Verify MD5 Checksum Under Linux |
|
|
|
|
Wednesday, 28 May 2008 20:40 |
|
MD5 (Message-Digest algorithm 5) is a widely used cryptographic hash function with a 128-bit hash value to provide some assurance that a transferred file has arrived intact. You can compare the checksum of a downloaded file, say masterkey-linux-0.1.iso to our pre-computed one stored in a md5 file masterkey-linux-0.1.iso.md5. Generally speaking, if these two hash vaules match, the file you downloaded is identical to the one released on the web site. To verify the md5 checksum of a downloaded file (i.e., masterkey-linux-0.1.iso) under Linux, you need also download its md5 file in which the pre-computed checksum is stored (i.e., masterkey-linux-0.1.iso.md5). The file to be checked and its md5 file MUST be stored in the same directory. - In a shell prompt, change to the directory which the related files located in;
- type the following command line:
#md5sum -c masterkey-linux-0.1.iso.md5
|
|
Last Updated on Friday, 01 May 2009 11:19 |