[PATCH] mdiff: Compare content of binary files directly

Bill Sommerfeld sommerfeld at sun.com
Fri Aug 8 19:55:21 CDT 2008


Besides the performance improvement, there's also the matter of
correctness -- it is now well understood how to find two binary strings
which hash to the same value with md5.

see, for instance: http://www.mscs.dal.ca/~selinger/md5collision/

hg cannot tell the difference between the "good" and "evil" binaries
made available at that site.

					- Bill




More information about the Mercurial-devel mailing list