Meino Christian Cramer <Meino.Cramer / gmx.de> skrev den Sat, 6 Sep 2003 
19:58:20 +0900:

> This stuff is, what I as a ruby newbie need ! Great ! Thanks ! :O)
>
Np.

BTW, you can do MD5 in Ruby with:

require 'digest/md5'
digester = Digest::MD5.new
digester.update(aString)
p digester.hexdigest # gives human-readable digest
p digester.digest    # the raw (shorter) digest

or the shorter

digest = Digest::MD5.new(aString).digest

but it will be somewhat slower than md5sum though. Not
that you'll notice unless you have *really* large files...

Regards,

Robert