apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bojan Smojver" <bo...@rexursive.com>
Subject Re: Hash collision vectors in APR?
Date Thu, 26 Jan 2012 11:15:42 GMT
------- Original message -------
> From: Branko ─îibej

> - hash = ht->hash_func(key, &klen);
> + hash = randomize_hash(ht, ht->hash_func(key, &klen);
> 
> Completely private change that leaves hash_func_t unchanged.

Interesting approach. So, randomize_hash() would then perturb (xor or something) what the
hash function returns based on the seed, right?

--
Bojan
Mime
View raw message