Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

PrefKeyEncryptionScheme

class PrefKeyEncryptionScheme
kotlin.Any
   ↳ kotlin.Enum<androidx.security.crypto.EncryptedSharedPreferences.PrefKeyEncryptionScheme>
   ↳ androidx.security.crypto.EncryptedSharedPreferences.PrefKeyEncryptionScheme

The encryption scheme to encrypt keys.

Summary

Enum values

Pref keys are encrypted deterministically with AES256-SIV-CMAC (RFC 5297).

Enum values

AES256_SIV

enum val AES256_SIV : EncryptedSharedPreferences.PrefKeyEncryptionScheme

Pref keys are encrypted deterministically with AES256-SIV-CMAC (RFC 5297). For more information please see the Tink documentation: DeterministicAeadKeyTemplates.AES256_SIV