The second Android 11 Developer Preview is now available, test it out and share your feedback.

androidx.security.crypto

Classes

EncryptedFile

Class used to create and read encrypted files.

EncryptedSharedPreferences

An implementation of SharedPreferences that encrypts keys and values.

MasterKeys

Convenient methods to create and obtain master keys in Android Keystore.