require 'digest/md5'
Digest::MD5.hexdigest(str)


-matt

On Sat, Feb 28, 2004 at 03:29:45AM +0900, Dirk Einecke wrote:
> Hi.
> 
> How can I calculate the md5 hash of a string (like in PHP - 
> http://de2.php.net/manual/en/function.md5.php)? I can't find any 
> helpfull documentation about this problem.
> 
> bye
> Dirk Einecke
> 

-- 
matthew c. mead

http://www.goof.com/~mmead/