Search code examples
javaandroidkotlinsharedpreferencesandroid-storage

What could be used instead of Shared Preferences for storing user information??As People says Shared Preference is not Secure


What could be used instead of Shared Preferences for storing user information? People say Shared Preference is not Secure.


Solution

  • You can use SQLCipher library for encrypted database or encrypt/decrypt values yourself with some key and store result in SharedPreferences. To store keys use Android keystone system.