AES Decryption: javax.crypto.BadPaddingException: pad block corrupted in Android
问题 I am stuck with a problem with AES Decryption in my android Application. I have searched a lot but unable to get the solution. Here are the steps, what i am doing. Encrypt the credit card number with my key send to the Web server. Web server Decrypt the credit card number and save it. When we fetch the credit card number from the Web service. Then web server encrypt the credit card number with the same key and send to Us. Now When we decrypt this number, it throws bad padding exception for