I believe this is wrong, and in this case it's very dangerous information. See for example the Wikipedia article for two chunks of data that only differ in a few bits (not length!) and hash the to same MD5 hash:
https://en.wikipedia.org/wiki/MD5#Collision_vulnerabilities