commit | ab28b8b9fd5e402c80aef0874ca35895dde858c5 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Sep 09 21:13:47 2007 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Sep 09 21:13:47 2007 +0200 |
tree | a6dbf94f03ed380558599fc1e7bc89cd13832272 | |
parent | 4eac209555350124710797dfeb3d228a9e68edce [diff] |
[TESTS] added a new hash algorithm added "wt_hash" which shows only 60 collisions in 575k values, which sets it between hashword() and djbx33(). It's also between both in terms of performance, but the most important part is that its variable length rotation mechanism should make it really harder to predict and attack than the other ones.