Database Security Products (MOSC)

MOSC Banner

Decrypting using DBMS_CRYPTO, using .Net encryption key.

edited Nov 1, 2013 3:46AM in Database Security Products (MOSC) 1 commentAnswered
 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



Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center