bless you both!
>From: Thomas Jeff <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
>Subject: RE: dbms_obfuscation package
>Date: Thu, 22 Mar 2001 05:25:23 -0800
>
>FWIW: This is something I played with a long time ago:
>
>
>DECLARE
> v_input_string VARCHAR2(32) := RPAD('STRING TO BE ENCRYPTED',
>32, ' ');
> v_key_string VARCHAR2(32) := RPAD('JOXERTHEMIGHTY', 32, '
>');
> v_encrypted_string VARCHAR2(2048) := NULL;
> v_decrypted_string VARCHAR2(2048) := NULL;
>
>BEGIN
> DBMS_OUTPUT.PUT_LINE ('String to be encrypted: ' || v_input_string);
>
> DBMS_OBFUSCATION_TOOLKIT.DESEncrypt (input_string => v_input_string,
> key_string => v_key_string,
> encrypted_string =>
>v_encrypted_string);
>
> DBMS_OUTPUT.PUT_LINE ('Encrypted String: ' || v_encrypted_string);
>
> DBMS_OBFUSCATION_TOOLKIT.DESDecrypt (input_string => v_encrypted_string,
> key_string => v_key_string,
> decrypted_string =>
>v_decrypted_string);
>
> DBMS_OUTPUT.PUT_LINE ('Decrypted String ' || v_decrypted_string);
>END;
>/
>"cryption.pl" 28 lines, 1047 characters
>[is7a001][/home/oracle/jdt/java/old]>sqlplus [EMAIL PROTECTED]
>
>SQL*Plus: Release 8.1.6.0.0 - Production on Thu Mar 22 08:23:23 2001
>(c) Copyright 1999 Oracle Corporation. All rights reserved.
>
>Connected to:
>Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
>With the Partitioning option
>JServer Release 8.1.6.0.0 - Production
>
>SQL> set serveroutput on
>SQL> @cryption.pl
>String to be encrypted: STRING TO BE ENCRYPTED
>lvcrypted String: >C0S4LhZ8&DxFug*K?$A`w(WB
>Decrypted String STRING TO BE ENCRYPTED
>
>PL/SQL procedure successfully completed.
>
>
>
>
>-----Original Message-----
>Sent: Wednesday, March 21, 2001 10:30 PM
>To: Multiple recipients of list ORACLE-L
>
>
>On Wed, 21 Mar 2001, Rachel Carmichael wrote:
>
> > 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.
> >
>
>Ahem...
>
>Yours truly has an article on Oracle and encryption which
>includes using DBMS_OBFUSCATION_TOOLKIT.
>
>Complete with code.
>
>www.cybcon.com/~jkstill/util
>
>Jared
>
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author:
> INET: [EMAIL PROTECTED]
>
>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: [EMAIL PROTECTED] (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).
_________________________________________________________________
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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).