SHA question
Paul Makepeace
paulm at paulm.com
Wed Jan 13 18:02:33 GMT 2010
On Wed, Jan 13, 2010 at 09:53, David Cantrell <david at cantrell.org.uk> wrote:
> On Wed, Jan 13, 2010 at 01:12:28PM +0000, Dermot wrote:
>
>> I am using it in a perl class but if I could system(`fdupes`) that
>> might be preferable. I'll try building the sources and see what
>> happens. Failing that I'll have to fallback to slurping and SHA or
>> MD5.
>
> Other hashing algorithms exist and are faster but more prone to
> inadvertant collisions. If you've got a lot of data to compare, I'd
> use one of them (eg one of the variations on a CRC) and then only
> bring out the big SHA guns when that finds a collision.
Or cmp ;-)
More information about the london.pm
mailing list