How to make an MD5 file on a Mac

Alex picture Alex · Mar 24, 2011 · Viewed 31.5k times · Source

I'm sending a source code package to someone via email. I have sent them an .svdump which contains the files. They have now asked me to send an MD5 file for the source dump. How do I create this on a Mac?

Answer

karlphillip picture karlphillip · Mar 24, 2011

Open up a terminal and invoke the md5 program with the filename that you want to create a hash for:

md5 some_app > md5.txt

The command above stores the resulting hash in a file named md5.txt.