org.bouncycastle.crypto.InvalidCipherTextException: pad block corrupted
Really need some help on this.. have been stuck with it for the whole day and have no idea what is it that's going wrong.
If you are certain that correct padding is being used then based on experience I suspect the key you are using is not the one used to encrypt the data. A key mismatch still allows basic decryption but the resulting padding will be invalid.
Of course if one had a view of the code used to encrypt then one might be able to give a more definite diagnosis.
subject: Exception while decrypting data org.bouncycastle.crypto.InvalidCipherTextException: pad block corrup