Post by Ramon F HerreraI suppose it is theoretically possible to have two different files
with the same MD5 sum?
TIA,
-Ramon
Yes. However, it is more likely to occur if the situation is contrived.
That is, someone has made an effort to create a file with the same hash
as an existing file. It is unlikely (but not impossible) to occur
through mere coincidence.
Even if MD5 is "broken", it is still quite useful for checking that an
accidental modification or corruption of a file has not occurred. I
create a hash for a very large file before sending it to another
computer. I also send a file containing that hash. At the destination
computer, I again compute the hash and compare it with the hash from the
source computer. (For an extremely large file, I use SHA1 instead of
MD5. This also is a valid use of SHA1 even if it too were "broken".)
--
David E. Ross
<http://www.rossde.com/>.
Don't ask "Why is there road rage?" Instead, ask
"Why NOT Road Rage?" or "Why Is There No Such
Thing as Fast Enough?"
<http://www.rossde.com/roadrage.html>