Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^2: Website for small perl scripts

by cavac (Curate)
on Oct 22, 2018 at 09:45 UTC ( #1224471=note: print w/replies, xml ) Need Help??

in reply to Re: Website for small perl scripts
in thread Website for small perl scripts

If file sizes match just compare hashes (Digest::MD5, Digest::MurmurHash).

I don't know anything about MurmurHash, but MD5 has a higher chance of collisions than more modern hash digests. While, in all likelihood, this will not be a problem for this kind of usage, i would still go the recommended path of using something like SHA256 or even better SHA3-512.

See also:

"For me, programming in Perl is like my cooking. The result may not always taste nice, but it's quick, painless and it get's food on the table."

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1224471]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2021-03-04 19:43 GMT
Find Nodes?
    Voting Booth?
    My favorite kind of desktop background is:

    Results (107 votes). Check out past polls.