I assume you mean by using a md5 hash sum comparison.
It's not something I know that much about, does it work in practice or can it be circumvented. I would have thought that by giving a file a different degree of compression it would produce a different hash.
Like the idea though, even if it's just another tool in the box 🙂