Showing posts with label OSX. Show all posts
Showing posts with label OSX. Show all posts

Tuesday, 11 October 2011

Generate an SHA1 hash on MAC OSX

Open a terminal.

type in the following:

openssl sha1 <full path to file>

Alternative to manually typing in the path, you can have the folder open in Finder and drag the file into the terminal window to enter the path automatically.

Generate an MD5 hash on MAC OSX

Use the MD5 command from the terminal:

md5 <filename>