Ben Johnson wrote: > Basically I want to generate an md5 hash from considerably large files > to determine if they are exactly the same. Is there a better way to do > this besides comparing md5 hashes? > > Thanks for your help. I neglected to include some neccessary details, sorry about that. Basically the reason I want to do this is so I can store the md5 in the database and determine if I have come across this file before. So when I receive the file again I can md5 it, query my db, and if its in my db I know I've come across this file before. Thanks for your help. -- Posted via http://www.ruby-forum.com/.