I am getting the below error while i am running my android app on the new Beta of Android 12. I use the version de.adorsys.android:securestoragelibrary:1.2.4
java.lang.IllegalArgumentException: Bad arguments
javax.crypto.Cipher.doFinal(Cipher.java:2109)
android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:582)
javax.crypto.Cipher.doFinal(Cipher.java:1938)
javax.crypto.CipherOutputStream.close(CipherOutputStream.java:210)
de.adorsys.android.securestoragelibrary.KeystoreTool.encryptMessage(KeystoreTool.java:88)
de.adorsys.android.securestoragelibrary.SecurePreferences.setValue(SecurePreferences.java:59)
I am getting the below error while i am running my android app on the new Beta of Android 12. I use the version de.adorsys.android:securestoragelibrary:1.2.4
java.lang.IllegalArgumentException: Bad arguments javax.crypto.Cipher.doFinal(Cipher.java:2109) android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:582) javax.crypto.Cipher.doFinal(Cipher.java:1938) javax.crypto.CipherOutputStream.close(CipherOutputStream.java:210) de.adorsys.android.securestoragelibrary.KeystoreTool.encryptMessage(KeystoreTool.java:88) de.adorsys.android.securestoragelibrary.SecurePreferences.setValue(SecurePreferences.java:59)