keystore-secure

Additional

Language
Java
Version
N/A
Created
Dec 24, 2018
Updated
Dec 26, 2018 (Retired)
Owner
Khang Tran (tntkhang)
Contributor
Khang Tran (tntkhang)
1
Activity
Badge
Generate
Download
Source code

Keystore Secure

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);

Checkout example for more detail.