try this :
For example, the syntax may look like:
md5 big_huge_file.iso
You’ll be returned with an MD5 Checksum Hash that you can check against the source MD5 code provided to you (or that a friend shares, you found online, or whatever).
An example of what the md5 hash will look is something like this:
MD5(big_huge_file.iso)= 20665acd5f59a8e22275c78e1490dcc7
The part after the = sign is the MD5 hash code that you can compare against the source to be sure that the file has retained it’s integrity through transmission. Very handy when downloading large files!
Alternatively you can use the openssl command to check MD5 checksums on your Mac, like so:
openssl md5 big_huge_file.iso
The data returned to you will be the same whether you use the openssl command or the md5 command, it’s really just a matter of preference.