keystore-secure
Introduction: Store sensitive android data to the KeyStore.
Tags:
This is an lightweight library for save and get data secure into the Keystore which encrypted and decrypted.
Add implementation into build.gradle of app level
implementation 'com.github.tntkhang:keystore-secure:1.1.1'
How to use it
Call init
before using
KeystoreSecure.init(context);
Encrypt string by:
KeystoreSecure.encrypt(context, STORE_KEY_1, valueToEncrypt);
Decrypt string by:
KeystoreSecure.decrypt(STORE_KEY_1);