Surf 11 » Solved: Could not perform unpadding invalid pad byte

Finding the best waves on the web.

When you run into an error like this in ColdFusion, or otherwise using the RSA jSafe CryptoJ java package:

An error occurred while trying to encrypt or decrypt your input string: com.rsa.jsafe.crypto.dr: Could not perform unpadding: invalid pad byte..

It usually means that you are trying to decrypt a value using the wrong encryption key.

Related Entries

Email: (optional, not displayed on site)
   Subscribe to this thread
Comments: (html will be escaped)

Archives   Tags   Contact