war story: parallel(1) command
James Knott
james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Wed Jul 31 01:11:31 UTC 2013
Eric B wrote:
> If one calculates the SHA-N hash for each file, that would
> answer the question ("Are these files the same or different?")
> with virtual certainty. There is NO need for an additional
> compare if the same hash is found.
You're forgetting one key point. A hash is a limited number of bits,
which means you cannot have a unique hash for every possible file.
Collisions, while not likely, are not impossible.
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list