Answer the question
In order to leave comments, you need to log in
Is it possible to avoid the problem of creating two messages with the same hash sum by adding the size of the hashed string/file to the md5 hash sum?
Is it possible to avoid the problem of creating two messages with the same hash sum by adding the size of the hashed string/file to the md5 hash sum?
For example, can there be two different files/strings that have the same MD5 hash sum and size?
Answer the question
In order to leave comments, you need to log in
For example, can there be two different files/strings that have the same MD5 hash sum and size?They can. This is called a collision , about the file size relative to the hash sum, a collision can also be, but with a much lower chance, of course.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question