We may notice many download sites provide md5 string. For example, when I download ABC.zip, along with an md5 string like: “2743a6a9fe6f873df1c7ed8ac91df5d7 *ABC.zip”. I know the idea behind it, it’s Digest algorithm to prevent file forge.
My question is how a user calculates md5 string for the ABC.zip, and compare it with value site provides? Any existing tool to generate md5 string?
It depends a bit on your operating system ofcourse. Under most Linux/Unix distributions you have an
md5ormd5sumprogram available.Example:
It also has a check mode which does exactly what you’re looking for:
(test.md5 has the output of the previous command)