Android Shared preference wrapper than encrypts the values of Shared Preferences. It's not bullet proof security but rather a quick win for incrementally making your android app more secure.
I was able to workaround the issue by passing empty string as the password instead. It looks like the behavior is the same, and the lib will generate a key for me.
When I try to create an instance of SharedPreferences using the constructor with null as the password as shown in the README:
new SecurePreferences(context,null,"name_of_file.xml");
I get an error:
I was able to workaround the issue by passing empty string as the password instead. It looks like the behavior is the same, and the lib will generate a key for me.