Hello all:

I've been having trouble with Ruby's md5 function... The following code
snippet (file attached):

***begin code***
require 'digest/md5'

md5=Digest::MD5.hexdigest(File.read("C:\\dc.log"))
puts md5
***end code***

produces completely different hash than any of the other tools I use
(MD5Win32 or winMD5Sum)... Am I not using the function correctly? Wtf is
being hashed?

-- 
Posted via http://www.ruby-forum.com/.