Last active
January 9, 2021 23:10
-
-
Save dinorahto/a445dc1b964e980c5e9e52140bfc4978 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Release Candidate option | |
val keyGenParameterSpec = MasterKeys.AES256_GCM_SPEC | |
val masterKeyAlias = MasterKeys.getOrCreate(keyGenParameterSpec) | |
// Alpha option | |
val masterKeyAvailable = MasterKey | |
.Builder(application.applicationContext) | |
.setKeyScheme(MasterKey.KeyScheme.AES256_GCM) | |
.build() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment