Skip to content

Commit

Permalink
Specify KeyStore as KeyGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
cyb3rko committed Feb 2, 2023
1 parent 6652df5 commit 0c10f59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ internal object CryptoManager {
}

private fun createKey(): SecretKey {
return KeyGenerator.getInstance(ENC_ALGORITHM).apply {
return KeyGenerator.getInstance(ENC_ALGORITHM, "AndroidKeystore").apply {
init(
KeyGenParameterSpec.Builder(
KEYSTORE_ALIAS,
Expand Down

0 comments on commit 0c10f59

Please sign in to comment.