开发者

How to store sensitive string data - Android development

I have included few strings in my code. I want to hid开发者_StackOverflow社区e those strings from external hackers.

Can anybody plz help me...


You can use AES encryption to encrypt/decrypt your data and store/read it from file or shared preferences. The AES key can be hardcoded in the app, or you can use random generated key which will be stored at different place.


I think Proguard gives security to your code (obfustication). If you want additional security you have to use Encryption. then separately you can encrpt the string and store in a file. whenever you want to use the data you have to read the file decrypt the data.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜