From: Tanaka Akira Date: 2006-03-20T00:21:22+09:00 Subject: Re: safe way to calc md5 on very large files In article <48526dFif9i5U1@individual.net>, "Robert Klemme" writes: > md5 = File.open(file, 'rb') do |io| > dig = Digest::MD5.new > buf = "" > while io.read(4096, buf) > dig.update(buf) > end > dig > end Why we have no such method in the digest library? I think it is useful enough to have in the library. -- Tanaka Akira