In our android app, we were encrypt and decrypt the username and password by using cipher algorithm [AES/CBC/PKCS7Padding]
.
We are getting javax.crypto.BadPaddingException on some of the devices. I am sure we are passing same key for both encryption and decryption. Can anybody have any idea about this or facing this issue?
Please note that I can't able to place the code here and I am bit sure passing same key for both encryption and decryption.