0

I have two compare two images usinf md5 digest comparison. If the size of the two images is different will it matter?

prosody
  • 251
  • 3
  • 7

1 Answers1

2

If the size is different, the content is different. Yes.

MD5 doesn't care about the meaning of the data (it can be a photo, a text, or anything represented in bytes).

MD5

Reut Sharabani
  • 30,449
  • 6
  • 70
  • 88
  • This is right, but author maybe thought about comparing two images which one is the resized version of the second one. And it that case, answer is the same - it matters. – marol Jun 08 '14 at 14:53