You want to generate different type of checksum for a file
You can use various checksum tool
cksum <file> md5 <file> shasum <file>