title: How to store secure string in Android?
body: <p>Is there any understandable examples of using KeyStore in Android?</p>
  
  <p>I can't really understand how do I have to protect my password/token/anything_else in Android application in ROOTED device from being used by hackers who have physical access to the device.</p>
  
  <p>I understand i can generate KeyPair with some ALIAS, and use it's private key as database password for example, but I'am interested in: can any hacker read this ALIAS from my decompiled apk(because i can't obfuscate alias string) and build another app which uses same ALIAS to get privateKey from android KeyStore?</p>
  
  <p>Any solutions?</p>