Go to OSX Daily to read How to Check sha256 Hash of a File on Mac
Need to check the sha256 hash of a file? You can easily check the SHA 256 checksum of any file in macOS from the command line.
We’ll cover two different command line tools to verify a sha256 checksum on the Mac, and both come preinstalled with all modern versions of MacOS.
For those who are not familiar, a checksum is basically a string of letters and numbers that can be used to determine file integrity, like whether an error occurred during transmission, or whether a file was tampered with. For example, if the file checksum matches on your end with the…