• Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    Build and Reverse MD5 Hashes Programatically

    An MD5 hash encodes a string into a 128-bit fingerprint in a one-way transaction that nets the same result no matter what computer you’re using to generate hashes. I know it’s hard to imagine, but the md5 command will create a hash. There are a few ways people go about doing such things. The easiest way I’ve found is to echo the string into md5, most easily done using a command such as the following, which simply echoes out the word test to the md5 command on a Mac: echo -n test | md5 And the output is a simple hash: 098f6bcd4621d373cade4e832627b4f6 The reason I use the -n is because…