[fpc-devel] Unexpected behaviour of bit operators

Marco Borsari borsa77 at libero.it
Fri May 17 14:38:37 CEST 2019

On Fri, 17 May 2019 11:55:55 +0100
"J. Gareth Moreton" <gareth at moreton-family.com> wrote:

> On a slightly different note, I would be careful about only using a 
> 16-bit hash, because the chance of a collision is only about 1 in 320 
> (see "Birthday attack")
> Gareth aka. Kit

Thank you, but in my use case collisions are accepted: in fact for every
a=b the hash collapses into 0.
Simplex sigillum veri

More information about the fpc-devel mailing list