开发者

How to store sensitive string data - Android development

开发者 https://www.devze.com 2023-03-16 12:58 出处:网络
I have included few strings in my code. I want to hid开发者_StackOverflow社区e those strings from external hackers.

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

精彩评论

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