When you download a file from a website, they usually come with a 128 bit hash the called MD5 hash. The 32 digit hash is used to check for the integrity of the file to make sure the file hasn’t been altered in any way. So, how do you check MD5 hash on the Mac OS? Open up your Terminal and type the following:
md5 linux.iso
The MD5 command will spit out a 12b bit hash that you can compare it with on a website’s download page. If the hash match, then the file’s integrity is intact. If it doesn’t match, then the file has been altered and compromised. Get rid of it. You never know what’s in it.