Verify SHA1 Hash with openssl
The syntax is quite similar to the shasum command, but you do need to specify ‘sha1’ as the specific algorithm like so:
openssl sha1 /path/to/filename
To verify a file on the desktop, the command would look like this:
openssl sha1 ~/Desktop/DownloadedFile.dmg
The output isn’t quite as nice as shasum, but it remains easy to interpret:
$ openssl sha1 ~/Desktop/DownloadedFile.dmg
For the average user, there isn’t much advantage to use openssl over shasum when verifying checksums, so it’s mostly a matter of habit and whichever is most convenient.
Thanks to those readers who recommended this.