Pete Freitag Pete Freitag

Solved: Could not perform unpadding invalid pad byte

Published on April 18, 2013
By Pete Freitag

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.


Solved: Could not perform unpadding invalid pad byte was first published on April 18, 2013.

Discuss / Follow me on Twitter ↯

Post a Comment