home ~ projects ~ socials

Generate An MD5 Hash From A String On The Command Line

On a mac, do:

md5 -s "the string to hash"

I didn't explicitly install md5 on my machine, but I have a feeling something I installed with homebrew added it. So, look there if the command doesn't work out of the box (and let me know so I can update this post)

-- end of line --