SHA question

David Cantrell david at cantrell.org.uk
Wed Jan 13 18:02:00 GMT 2010


On Wed, Jan 13, 2010 at 02:58:59PM +0000, Dermot wrote:
> 2010/1/13 Avi Greenbury <avismailinglistaccount at googlemail.com>:
> > Thirdly, be aware of what hashing guarantees. It does *not* guarantee
> > uniqueness, it just gives you a very low chance that two files with
> > the same hash are different. It does guarantee that files with
> > different hashes are different, though.
> I think that's the best I can hope for. If that 'duplicate.pdf' turned
> up again at least I be able to correctly identify it. That's the goal.
> I will give fdupes a look too.

Of course, if SHA (or whatever) does give you the same result for two
files, verifying that they really are the same is trivial ... (and if
they're not, lots of people would be Really Interested to know).

-- 
David Cantrell | Bourgeois reactionary pig

   When a man is tired of London, he is tired of life
      -- Samuel Johnson


More information about the london.pm mailing list