You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This implementation is vulnerable to hashdos attack.
It is, indeed, quite easy to generate colliding strings with DJBX33A. You should use a keyed hash function like SipHash for exemple.
The text was updated successfully, but these errors were encountered:
I suggested the use of a PRF/keyed hash function like SipHash because it is the simple way to solve the issue. By the way, this is the solution adopted by Perl in 2003.
Others solutions involve bigger changes and are not easy to get it right.
This implementation is vulnerable to hashdos attack.
It is, indeed, quite easy to generate colliding strings with DJBX33A. You should use a keyed hash function like SipHash for exemple.
The text was updated successfully, but these errors were encountered: