Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DBMS_CRYPTO.encrypt + padding

Tricampeon_1981Mar 21 2018 — edited Mar 22 2018

friends I have this pkgs that I am using ..

but I have a doubt regarding these values as I know what they are ??

in that fucnion what is the padding and the mode?

-- 11G version

v_encryption_type   PLS_INTEGER :=   DBMS_CRYPTO.DES_CBC_PKCS5;

v_encrypted_raw :=

      DBMS_CRYPTO.encrypt (   src   => UTL_I18N.STRING_TO_RAW (p_input, 'AL32UTF8'),

                                                 typ   => v_encryption_type,

                                                 key   => v_key,

                                                 iv     => v_iv);

   Dbms_Output.put_line('incripto--->>>'||v_encrypted_raw || '<<<<<-------');

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 19 2018
Added on Mar 21 2018
14 comments
591 views