This math is way over my head, and don't even know if it can be done, but here are the assumptions:
- Take unencrypted File [Fu] of variable length, but assume 100KB as an example.
- Let File [Fe] be the AES256 encrypted version of [Fu].
- Let Hash [Hu] be the cryptographic hash using MD5 Algorithm of [Fu]
- Let Hash [He] be the cryptographic hash using MD5 Algorithm of [Fe]
- Let File [Fmu] be an unencrypted file that is different from file [Fu] by at least one bit.
- Let File [Fme] be the AES256 encrypted version of [Fmu]
- Let Hash [Hmu] be the cryptographic hash using MD5 Algorithm of [Fmu]
- Let Hash [Hme] be the cryptographic hash using MD5 Algorithm of [Fme]
- Assume the key for AES256 to be constant.
Question: What is the probability that both [Hu] = [Hmu] and [He] = [Hme]. In english, what is the chance that two different files can have identical hashes in both an unencrypted and encrypted form? My guy says it isn't possible, or the odds are dependent on the size of [Fu]. Thoughts?