Wednesday, March 17, 2010

Hashing a string on the command line

Sometimes it's a good idea to hash a string (for example, a password).  Here's how you can do it:

echo "please hash me" | md5

This outputs the following:

b11d152f32d566008f8c03506e72a340

No comments:

Post a Comment