Skip to content

Android library for an easy implementation of utils from Keystore: encryption and decryption. Minimum API 18 (compatibility with Android M or higher).

Notifications You must be signed in to change notification settings

xcelder/AndroidKeystoreManager

Repository files navigation

AndroidKeystoreManager

Android source for an easy implementation of utils from Keystore: encryption and decryption. Minimum API 18 (compatibility with Android M or higher)

NEW! ButterCookie included in the Demo, an example that will help you learn how to inject your views in a library. https://github.com/JackCho/ButterCookie

How to use

	KeystoreManager.init(context);

  // Encrypt Text 
  String encryptedText = KeystoreManager.getInstance().encryptText("Text");
  // Decrypt Text 
  String decryptedText = KeystoreManager.getInstance().decryptText("wewr23e2wdsawe2wdsaqwe2wdsaqwe");

Use for save preferences

  KeystoreManager.init(context);
  
  // Save preference 
  KeystoreManager.getInstance().setPreference("key","value");
  
  // Get preference
  String preference = KeystoreManager.getInstance().getPreference("key");
  
  // Remove preference 
  KeystoreManager.getInstance().removePreference("key");

About

Android library for an easy implementation of utils from Keystore: encryption and decryption. Minimum API 18 (compatibility with Android M or higher).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages