Calculating hash value
certutil command is available for calculating hash value on windows.
Here, I can specify MD5, SHA1, SHA256, SHA512 as hashalgorithm.
shasum command is available for calculating SHA hash value on macOS.
Here, I can speciry 1(SHA1), 256(SHA256), 512(SHA512) as sha_algorithm.
In case MD5, md5 command is available for calclating MD5 hash value.
Note that 128 bit hash like MD5 and SHA1 are no longer secure. These should not be used as reliable digest. There was a question requires different 2 files where hashes conflict in CTF.