Previously, we learned how to run MD5 or SHA-1 hashes on files in Windows. That entailed downloading and installing a separate piece of software. Luckily for Mac users, these functions are built in and can be accessed via Terminal!
- Open “Terminal.” It can be found at /Applications/Utilities/Terminal
cdfollowed by the directory in which the file you’d like to test resides. For example:
- Simply type
md5 yourfile.extensionand hit enter. For example:
- Note: It’s common for file extensions to be hidden by default, so don’t forget to include those.