Jasypt Users Forum

 « Return to Thread: Matching Oracle Encryption

Matching Oracle Encryption

by Arun Kumar K :: Rate this Message:

Reply to Author | View in Thread

Hi,

In my application, data is being created by an ETL job. It uses Oracle function to do the encryption. Below is the encryption and digest used by the Oracle function:
DBMS_CRYPTO.ENCRYPT_AES128
+ DBMS_CRYPTO.CHAIN_CBC
+ DBMS_CRYPTO.PAD_PKCS5;

My java code uses hibernate to read the encrypted values. I am using the "Bouncy castle" provider. I tried with all algorithm combination in that provider 'PBEWITHMD5AND128BITAES-CBC-OPENSSL'. Nothing is working out. I am not able to decrypt that data. I always get an exception saying 'Decryption not possible.'.

Also, in Oracle, while calling DBMS_CRYPTO.DECRYPT function, they also pass a 'key' value. How do I pass it in Jasypt. Is it 'setPassword' method?.

I would really appreciate your help.

thanks,
Arun.

 « Return to Thread: Matching Oracle Encryption