From: Denys Yakhnenko Date: 2006-12-06T07:08:40+09:00 Subject: Re: md5 function in Ruby Austin Ziegler wrote: > On 12/5/06, Denys Yakhnenko wrote: >> ***end code*** > File.read is a bad choice on Windows. It should be avoided if at all > possible. Do this instead: > > puts Digets::MD5.hexdigest(File.open("C:\\dc.log", "rb") { |f| f.read > }) > > -austin Yup, that did it... thanks. Thanks for replying all... those are some extremely useful hints. -- Posted via http://www.ruby-forum.com/.