How To Check the SHA Hash of Files

When you download software online often the publisher will also provide a file hash to make sure that the file hasn’t been modified or hacked outside of their control. This is important to use because often the download file is hosted separately then the hash and the has is more controlled. SHA and md5 are the most frequently used algorithms for hash sum checking. The below examples will work on most Linux, Mac, and Unix systems.

Run SHA 256 Checksum On File

shasum -a 256

Run SHA 1 Checksum On File

shasum -a 1

Leave a Reply

Your email address will not be published. Required fields are marked *