Hi all,
I use Informix in my application and I want to encrypt columns. For encrypting I use Jasypt and Hibernate, for decrypting I have to use SQL. I proved to encrypt columns with algorithms AES and TDES, then I tried decrypting them with functions DECRYPT_CHAR() and DECRYPT_BINARY() but I got the following error.
Error: The encrypted data is wrong or corrupted. SQLState: IX000 ErrorCode: -26005
Algorithm TDES was used PBEWithMD5AndTripleDES and algorithm AES was used PBEWITHSHA256AND128BITAES-CBC-BC
Any suggestion???
Thank you in advance.
|