Secure Preferences Versions Save

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.

v0.1.0

9 years ago

This release is a major refactor of the guts of secure prefs, which is Not backwards compatible with 0.4.0 and older versions yet!. So if you have an existing app using this don't upgrade. I'll be looking to add migration into a later release.

  • uses a new and stronger Crypto library under the hood
  • includes PRNG fixes that effects JellyBean devices as per google dev blog article
  • supports password based key generation so the key is not persisted
  • change password supported
  • updated sample app
  • removed test project and added tests as part of main project
  • refactored library project to standard gradle structure
  • published to maven central/added github release

0.4.0

9 years ago

0.0.4

  • Gradle support thanks @yelinaung
  • Fix for OnPreferenceChanged listener @richardleggett

0.0.3

  • Added test Project
  • Updated sample ready for playstore upload

0.0.2

  • Added methods to get/set strings un-encrypted
  • Added backup PBKDF function in case PBKDF2WithHmacSHA1 not supported
  • Refactored code to make it easier to change the AES mode and PBKDF function.
  • Increased iterations of PBKDF from 1000 to 2000.

0.0.1

  • Initial import to github I've modified the project structure.
  • Included the Android base64 class so library can be used by Android 2.1+.
  • Enhanced the sample project dumps current prefs to illustrate the fact they are stored encrypted and Base64 encoded.