Demo app showing usage of EncryptedSharedPreferences and EncryptedFile in a Kotlin + Compose app with ViewModel
This code is explained in detail in my blog post here: https://tdcolvin.medium.com/encrypting-files-and-sharedpreferences-in-android-kotlin-a8429437f9c0