But if the pirate patches the code he can't install it with the same
checksum, since the phone will cry foul when the app is loaded and the
checksums don't match.  Now certainly he could patch out the code that
fetches the checksum, but he could do the same with code that
calculates the checksum dynamically.

On Sep 20, 11:18 am, Bret Foreman <[email protected]> wrote:
> This is why I want to do the checksum at runtime. If the pirate
> patches the code, the checksum won't match any more. I'm trying to
> detect an altered apk.
>
> On Sep 20, 8:51 am, DanH <[email protected]> wrote:
>
> > The pirate would have to crack a more complex algorithm, but
> > again, once he figured out where to patch he could just patch the
> > public key into the pirated code.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to