From: Dennis Ranke Date: 2004-02-28T03:39:46+09:00 Subject: Re: Calculate the md5 hash of a string On Fri, 27 Feb 2004 19:25:06 +0100, Dirk Einecke wrote: > 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. I can't find any (real) documentation, either, but: irb(main):001:0> require 'digest/md5' => true irb(main):002:0> Digest::MD5.new('apple') == '1f3870be274f6c49b3e31a0c6728957f' => true HTH -- exoticorn/farbrausch