The "md5" command is a part of the OpenSSL programs, which also includes support for SHA-1 (as well as lots of other things).

The command to calculate SHA-1 is:

Quote

openssl sha1 yourFileName

Click to expand...

Multiple filenames can be provided (separated by spaces). You can either type in your filename or simply drag-and-drop it/them from the Finder onto the Terminal window. Change the "sha1" to "md5" to calculate that.

MacRumors attracts a broad audience
of both consumers and professionals interested in
the latest technologies and products. We also boast an active community focused on
purchasing decisions and technical aspects of the iPhone, iPod, iPad, and Mac platforms.