httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mads Toftum <>
Subject Re: [PATCH] mod_cache fixes: #8
Date Mon, 02 Aug 2004 21:08:00 GMT
On Mon, Aug 02, 2004 at 04:54:07PM -0400, Brian Akins wrote:
> Any reason md4 was not used in mod_cache?  In my ad hoc tests, it seems 
> much faster.  I do not know the in-and-outs of encryption, but is there 
> any compelling reason to use md5 over md4 in this case?  We don't care 
> if someone "cracks" this and gets a url...
The choice between different digests wouldn't be wether one is easier to
"crack" than the other. The main concern should be how many collisions 
that there will be and wether the hash leaves us with a more or less
balanced tree, 
Come to think of it, perhaps it would be an idea to make the choice of
digest configurable - I can think of cases where the extra overhead of
a digest with fewer collisions would be worth the extra cycles.


Mads Toftum
`Darn it, who spiked my coffee with water?!' - lwall

View raw message