androidx.security:security-crypto
Official Description: AndroidX Security
CommonsWare’s Notes
This artifact offers:
-
EncryptedFile
, offering a stream-based API around an encrypted file; and -
EncryptedSharedPreferences
, offering aSharedPreferences
API implementation backed by an encrypted file
Both of these use Android’s KeyStore
and hardware-backed encryption where available,
though this is configurable.
Documentation
Knowledge
- Android Jetpack Security (2020-02-05)
- Encrypting Shared Preferences with the AndroidX Security Library (2020-01-28)
- Encrypted Preferences in Android (2019-10-12)
- AndroidX: Security library (2019-10-??)
Versions
- Latest Release Candidate: 1.0.0-rc04
- Latest Beta: 1.0.0-beta01
- Latest Alpha: 1.1.0-alpha03