Linux / Unix: Generate A MD5 String

in Categories , , last updated October 4, 2013

I need to generate a md5 hash for given string. It will be used by shell script to generate keys for remote web service or cryptographic application. How do I generate a md5 hash based on any input string under Linux or Unix like operating systems?