lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

* Rob Kendrick:

> One approach I've used in the past is to use an (extremely) trivial
> PRNG to decide which byte to hash next, using the current hash value as
> the seed, and the length of the string as the initial seed.

See the other thread---it's pretty easy to force collisions with
longer strings.