I'd like to learn a bit more about MD5 collisions. So let's assume I have a message m:
m = somesecretmessage
And I hash that message:
z = md5(m)
The only know information is z
. I do not know m
.
How would I be able to generate a file/string that would result in the same md5 hash as z
? Also would it be easier if the length of m
was known?
After some research it seems finding a collision is very feasible (aka in a couple of minutes/seconds). How would I create such a collision - a file/word that gives me the same hash? What tools can I use to achieve that?