SecretStore

class SecretStore(context: Context)(source)

API keys encrypted with an AES-GCM key held in the Android Keystore (the key never leaves secure hardware where available). Replaces the deprecated androidx.security:security-crypto.

Constructors

Link copied to clipboard
constructor(context: Context)

Functions

Link copied to clipboard
fun get(id: String): String
Link copied to clipboard
fun put(id: String, secret: String)