I was trying to understand MD5 and got stuck with this question, its from Michael sipser's book on Information security Principles and Practice, 2nd edition
The MD5 collision in Problem 25 is said to be meaningless since the two messages appear to be random bits, that is, they do not carry any meaning. Currently, it is not possible to generate a meaningful collision using the MD5 collision attack. For this reason, it is sometimes claimed that MD5 collisions are not a significant security threat. The goal of this problem is convince you otherwise. Obtain the file MD5_collision. zip from the textbook website and unzip the folder to obtain the two Postscript files, rec2.ps and auth2.ps.
THe zip file is at this link : http://www.cs.sjsu.edu/~stamp/infosec/files/MD5_collision.zip
The question asked was:
c. Modify rec2. ps and auth2. ps so that they display different messages than they currently do, but they hash to the same value. What are the resulting hash values?
In this question, we have to modify both the files such that their hash is same again (They have the same hash before modification). The problem is that whenever I change anything and try to make it same in both files, still the hash value changes.
Technically the hash should be same, as the author is calculating the MD5 using the IV's hash value. Thus if we do not modify the value before eq{ , then it should have the same hash value if both files have same modifications.
This does not happen, please help. (I am editing it using Notepad)