Tag Archives: SHA

SHA512 hashes in OS X

While messing about with my new Raspberry Pi the other day, I realized I didn’t know how to generate SHA512 hashes on my Mac to validate the integrity of my FreeBSD images.

As suspected it’s not that much more work than what I’m used to on FreeBSD (just “sha512 file“).

In OS X just run
shasum -a 512 file
and it gives you the hash of the file.

I’ll just leave this here as a note for the next time when I forget this in the future.

I validated that the shasum perl wrapper exists on both OS X El Capitan (10.11.1) and OS X Yosemite (10.10.5), still YMMV.