Novaliss 02673853 The hash of the signing certificate will stay consistent through updates of the app, hash of the whole file will not. Also, the same app isn't always packaged to the identical file sizes in all cases, even though the app can still be exactly the same.
Of course different version of one app have different hashes, thats the point.
A hash proofs that you have exactly the same binary.
NoahRaketic 02673853 If the developer or their signing key is compromised, then there is absolutely nothing you can do to protect yourself besides reducing trust in the app altogether (reducing permissions, not entering sensitive information). It would be trivial for an attacker to simply release one build of an app to everyone which behaves differently when it detects a specific identifier.
I only trust software that is reproducible from source.