Create sha1 hashes using openssl

Mar 01, '04 09:43:00AM

Contributed by: Anonymous

OS X has a tool for computing the md5 hash of a file -- just type md5 filename in the Terminal window. However, I wanted to use the stronger sha1 hash algorithm, but there is no sha1 tool. It turns out that you can use openssl, which comes with OS X, to do this. In the Terminal window, type openssl sha1 filename.

Comments (3)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20040223091330721