scottyab / secure-preferences

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.
1.53k stars 235 forks source link

securePref.getAll() return map where only values decrypted and keys encrypted #97

Closed nick0lay closed 5 years ago

nick0lay commented 5 years ago

Hi! Is this expected behavior return only decrypted key in map when use SecurePreference.getAll() method?

scottyab commented 5 years ago

Hey @nick0lay Expected. the keys aren't encrypted as such, they are hashed. So there's no way to get back to the original value, the theory is you have it already.