[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How to calculate MD5 of huge files?
- From: Rob Kendrick <rjek@...>
- Date: Thu, 22 Apr 2010 11:48:36 +0100
On Thu, 22 Apr 2010 12:35:18 +0200
"J.Jørgen von Bargen" <email@example.com> wrote:
> In lua I've only found the module md5, which provides
> but this requires reading the whole message into memory, which is
> quite impossible for 7GB large files.
> Is there any other solution?
http://www.rjek.com/luahash-0.00.tar.bz2 gives you :init, :update,
and :final methods for MD5, SHA-1, and the variations of SHA-2. I have
no idea if it works under Windows, as I've never tried. Should be
pretty simple to build, though.