10

I'm storing AES decryption key in AndroidKeyStore to decrypt data from SQLiteDB. Unfortunately, sometimes I get this error (Any android device and any API) rarely.

I would like to know what exactly this error means. javax.crypto.BadPaddingException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT.

Where I can find list of these error:*?

  • 2
    this error is caused by a mismatch between the keys used for encryption and decryption. make sure the keys are the same. I experienced this error after the encryption device was using the default key instead of pulling from server. – Manny265 Jan 30 '19 at 08:16
  • did you find any solution for this? – Saman Sattari Apr 05 '21 at 09:43

0 Answers0