Are there any clear examples of using KeyStore in Android?
I canโt understand how I can protect my password / token / anything_else in the Android application in the ROOTED device from being used by hackers who have physical access to the device.
I understand that I can generate KeyPair with some ALIAS and use it as a private key as a database password, for example, but I am wondering: can any hacker read this ALIAS from my decompiled apk (because I cannot obfuscate the alias string) and create another application that uses the same ALIAS to get privateKey with android KeyStore?
Any solutions?
source share