An attempt to backdoor the kernel
Posted Nov 7, 2003 3:55 UTC (Fri) by
lm (guest, #6402)
In reply to:
An attempt to backdoor the kernel by jonabbey
Parent article:
An attempt to backdoor the kernel
> in theory, the odds against a single pair-wise collision should be a
> perfectly even 1 in 2^160 (or 1.46xe48), but that's still not zero,
As I've said in the past "In theory, practice and theory are the same, but in practice they are different" :)
Your 1 in 2^160 assumes a perfectly random distribution of inputs. Math people love to assume Gaussian (or some other equally pleasant to math) distribution but those nasty programmers have a bad habit of not being that random.
What does that mean? It means that all your math is meaningless. You are doing the math over the wrong set of data, data which doesn't exist, so you get a slanted (and incorrect) view of the world.
If a file system or a SCM system is using hashes for their names of objects, be afraid. 99% of the time or more it will work but it will not work all of the time.
(
Log in to post comments)