in reply to Quick and Dirty Hash
Implementing your own hash means that it is probably more prone to collisions (i.e., that two different files lead to the same hash value). While MD5 has known cryptographic weaknesses, it certainly remains well suited for your task.use Digest::MD5 qw(md5 md5_hex); $digest = md5($data);
|
---|