Decrypting using DBMS_CRYPTO, using .Net encryption key.
I need to decrypt a password, which was encrypted in .Net for use in Oracle. Key was generated in .Net. Wondering if anybody has done this and is it possible.
I tried to use DBMS_CRYPTO.decrypt (Used: DBMS_CRYPTO.encrypt_aes256+DBMS_CRYPTO.chain_cbc +DBMS_CRYPTO.pad_pkcs5)
but get error (Even though made sure keylength is 32):
ORA-28234: key length too short
ORA-06512: at "SYS.DBMS_CRYPTO_FFI", line 67
ORA-06512: at "SYS.DBMS_CRYPTO", line 41
ORA-06512: at line 23
ORA-06512: at line 31
Thanks
Bhupinder
0