Using MD5SUM to Validate the Integrity of (Downloaded) Files
This tip is nothing new, in and of itself, but it is an important reminder. It also happens to make a perfect example for our continuing series on CygWin, the Linux emulator for Windows.
MD5 Codes: MD5 stands for Message Digest version 5. The MD5 algorithm takes a file (the “message”) of any size, and reduces it down to a code that looks like this: “ac30ce5b07b0018d65203fbc680968f5″ (the “digest”). The brilliant thing about the MD5 algorithm is that if the message changes by so much as a single byte, it will produce a completely different digest. Think of MD5s as fingerprints for files.
The MD5 algorithm has many uses. Foremost is the ability to validate that when a data file is transmitted from point A to point B, it arrives intact, without distortion. This is done by calculating the MD5 string that corresponds to the original file (at point A), calculating the MD5 again using the copy of the file (at point B), and then comparing the two MD5 strings.
Read more: Windows, Linux | Comments (12)


