unpack does not work.
It returns the same value for "abc def ghi" as for "acb def ghi"
Thank you for the pointer to some more theory. I will check it out.
Why do something myself? Firstly, curiosity. I have MD5 installed on my machine, but I wanted to try my hanbd at my own solution.
Secondly, I am looking at something I can include in an open source project I maintain. All the users are on Windows machines and the majority struggle enormously with getting Perl installed, especially when you need extra libs.
The problem I am trying to solve is rapidly comparing two files to see if they are the same, but where the files have randomly generated file names and creation times and where the files could be the same size as other files of the same type. | [reply] |
Checksums aren't unique; eventually, you find two strings that differ but have the same checksum. Checksums are merely a precautionary measure.
| [reply] |