KryptoPrefs is an open source Kotlin library for handling encrypted SharedPreferences in Android.
Features
- Lightweight library (~70 KB) with no dependencies.
- High compatibility (API 9 to API 29).
- Modular: Use the provided algorithms or make your own.
- Usable from Java and Kotlin.
- Supports the Android Keystore.
- KryptoContext for higher level features:
- Supported types: string, int, long, boolean, date, double, float, short, byte, char, enum and json.
- Types can be nullable.
- Types can be memory backed.
- Types can be observed.
- Custom types with your custom transform (e.g. JSON).
- Asynchronous reads and writes.
from The Android Arsenal
No comments:
Post a Comment