Calculate checksums of a file in OSX
Calculate MD5 checksum
md5sum <file>
Calculate SHA-1 checksum
shasum -a 1 <file>
Calculate SHA-256 checksum
shasum -a 256 <file>
md5sum <file>
shasum -a 1 <file>
shasum -a 256 <file>