how to md5 a string

Wybo Dekker wybo at servalys.nl
Mon May 11 19:04:43 UTC 2009


prad wrote:
> on freebsd i could md5 -s 'whatever' and get the hash.
> i can't figure out how to do this on ubuntu which has md5sum for
> hashing files, but not strings. nor have i been able to find something
> on the net, yet.
> 
> what is the mechanism for doing this from the commandline on ubuntu?

echo -n teststring |md5sum

see man md5sum

-- 
Wybo




More information about the ubuntu-users mailing list