System.SecurityException: pad block corrupted

10:25 AM

This exception usually occurs when you use the decrypt function Crypto.decrypt() . The exception implies that the encrypted text that you supply to the function is corrupted. Usually occurs when you try to trim the encrypted string or have split or manipulated the encrypted string in some way. Pass the encrypted string as is to the function Crypto.decrypt() and the error should be gone.

0 comments

Stats