Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: dbms_obfuscation package
thanks.. I'll try this as well
>From: Vadim Gorbounov <vgorbounov_at_simplyengineering.com>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: RE: dbms_obfuscation package
>Date: Wed, 21 Mar 2001 14:37:20 -0800
>
> Hi Rachel,
>I believe, this is bug. I had the same problem, workaround is to create
>stored procedure wrapper, not use
>dbms_obfuscation_toolkit.desencrypt in anonymous block.
> Another important note - both key and data lengths should be
>multiples of 8.
>
> hope this helps
>
> Vadim Gorbounov
> Oracle DBA
>
>-----Original Message-----
>Sent: Wednesday, March 21, 2001 4:30 PM
>To: Multiple recipients of list ORACLE-L
>
>
>help! I am by no means the world's best PL/SQL programmer (heck, I can
>barely program in it, PL/SQL 101 is on my desk at home)
>
>I am trying to see how hard it would be to add encryption to sensitive data
>in our database, so I'm playing with DBMS_OBFUSCATION_TOOLKIT.
>
>I created a table:
>SQL> desc test_encrypt
>Name Null? Type
>------------------------------- -------- ----
>COL1 VARCHAR2(10)
>COL2 VARCHAR2(10)
>
>and wrote a quick and dirty PL/SQL anonymous block:
>
>begin
>declare
> encrypted_str varchar2(10);
> inp_string varchar2(10);
>
> begin
> inp_string := '123456';
>dbms_obfuscation_toolkit.desencrypt(inp_string,'lksdjfasljf',encrypted_str);
> insert into test_encrypt values (inp_string,encrypted_str);
> commit;
> end;
>end;
>/
>
>when I run this, I get the following error:
>
> dbms_obfuscation_toolkit.desencrypt
>(inp_string,'lksdjfasljf',encrypted_str);
> *
>ERROR at line 7:
>ORA-06550: line 7, column 6:
>PLS-00307: too many declarations of 'DESENCRYPT' match this call
>ORA-06550: line 7, column 6:
>PL/SQL: Statement ignored
>
>
>now, I KNOW that they overload the procedure, they say so in the
>dbmsobtk.sql file in $ORACLE_HOME/rdbms/admin
>
>but what am I doing wrong that it's not recognizing that I'm using varchar
>not raw and accepting what I input???
>
>Not urgent, but annoying
>
>Rachel
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Rachel Carmichael
> INET: carmichr_at_hotmail.com
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Vadim Gorbounov
> INET: vgorbounov_at_simplyengineering.com
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Rachel Carmichael INET: carmichr_at_hotmail.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Mar 21 2001 - 18:49:55 CST
![]() |
![]() |