------- Original message -------
+    hash = ht->seed ^ ht->hash_func(key, &klen);

Actually, when I think about this, it will probably be inefective. If two keys produce the same hash, the xor-ed value against the seed will most certainly be the same as well. So, this won't actually do anything to stop the attack, except change which bucket attack picks.

So, we probably do need to seed the hash function instead.

--
Bojan

Reply via email to