From: Robert Feldt Date: 2003-09-06T20:08:00+09:00 Subject: Re: Hash-ish and Arrays and Duplicates Meino Christian Cramer 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