* 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. There's lots of literature on this, if you're curious. Of course, we'll fix http://defect.opensolaris.org/bz/show_bug.cgi?id=8 and move to SHA-256 or larger long before our respective departures. - Stephen _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
