[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Difference between a+b and bit32.band(a+b)
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 9 Sep 2011 10:45:18 -0300
> > In digestblock function there is a line: H = band(H + a).
> I'm not sure about this, but I've heard of people doing similar things
> taking overflow into account correctly, etc.
That's what the comment says:
-- Add (mod 2^32) this chunk's hash to result so far: