* Stephen Hahn <[email protected]> [2009-03-05 15:33]:
> * Tom Mueller (pkg-discuss) <[email protected]> [2009-03-05 22:55]:
> > P.S. I've always been curious what will happen when we run into the 
> > mathematical certainty of having two different file contents that hash to 
> > the same value. At that time, I certainly hope that the use of hashes is 
> > not such a core part of the design.
> 
>   Even with SHA-1, you and I will be long dead before we have a genuine
>   collision.  I'm not even sure we've collided in the 32 bits of prefix
>   used in /var/pkg/repo/file yet, and there's 96 bits past that.

  Sorry--there are 128 bits past that.  SHA-1 is 160 bits.

  - Stephen

-- 
[email protected]  http://blogs.sun.com/sch/
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to