I just read this article http://android-developers.blogspot.in/2013/02/using-cryptography-to-store-credentials.html where I learnt to generate security key.
I want to kn
Rule one of security. Don't invent your own security. You can't create a way to store a private key safely on any device. When you've just learned to generate a key.
I just read this article http://android-developers.blogspot.in/2013/02/using-cryptography-to-store-credentials.html where I learnt to generate security key.
A way that has already been invented is to make the user enter a string (something that is not saved on the phone) and use the the string for encryption.
The unsaved string method is easily broken by copying the ROM to a powerful machine and using brute force.