lua-users home
lua-l archive

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


> > What does this seed accomplish?  What problem does it solve?
> >
> 
> I suspect it is related to this:
> https://stackoverflow.com/questions/9241230/what-is-murmurhash3-seed-parameter/9241429#9241429
> 
> attackers may use the properties of a hash function to construct a denial
> > of service attack. They could do this by providing strings to your hash
> > function that all hash to the same value destroying the performance of your
> > hash table. But if you use a different seed for each run of your program,
> > the set of strings the attackers must use changes.

Exactly.

-- Roberto