From: Ted Date: 2002-12-22T17:49:24+09:00 Subject: Re: Quickest way to get md5 of a file? What system? Windows, I dunno. *nix: md5 program comes with most, or -- lacking that -- openssl md5 file. > Hi, > > I wanna get the md5 checksums of files from within Ruby code. > I realize I can simply loop, read chunks of the file and > update an MD5 object but that would be very much slower than > using an external MD5 checksum program and I have very many > files to check. > > Is there some trick to speed this up or should we consider adding > a checksum_of_file method to Digest? > > Regards, > > Karsten > > -- > http://fastmail.fm - Same, same, but different... >