How do I securely store private keys on Android?
Answer
In order to keep your keys safe when the phone is maliciously rooted, you can do the following steps:
Answer
In order to keep your keys safe when the phone is maliciously rooted, you can do the following steps:
- When you want to ecrypt any data generate a key pair.
- Prompt the user for a password.
- Use that password to generate a symmetric key to encrypt your private key.