Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Decrypt oracle data with java

Re: Decrypt oracle data with java

From: Samuel Zarza <samuel_zarza_at_geocities.com>
Date: 18 Apr 2002 03:15:17 -0700
Message-ID: <347d629d.0204180215.21043d92@posting.google.com>


I get the text (the string) from oracle by accesing vía jdbc. My question is about the algorithm, mode and padding that you can use in the Cipher.getInstance("algorithtm/mode/padding") method: i don't know wich of these parameters are used in the oracle dbms_obfsucation_toolkit.

Thanks.

"Mr. Tines" <tines_at_ravnaandtines.com> wrote in message news:<gXvODCArAJv8Ewk$@windsong.demon.co.uk>...
> In article <347d629d.0204160724.56822214_at_posting.google.com>, Samuel
> Zarza <samuel_zarza_at_geocities.com> writes
> >
> >byte[] textoDescifrado = desCipher.doFinal(myCipheredText.getBytes());
>
> A String is not the same as a byte[]; this is a common problem that
> simple conversion from 'C' idioms runs in to. How did you get the Text?
> Is there any ASCII armouring to undo first?
>
> >System.out.println(new String(textoDescifrado));
> >
> >The result isn't the same between oracle and this code.
> >
> >Thanks.
> >
> >Regards, Samuel
>
> -- PGPfingerprint: BC01 5527 B493 7C9B 3C54 D1B7 248C 08BC --
> _______ {pegwit v8 public key =581cbf05be9899262ab4bb6a08470}
> /_ __(_)__ ___ ___ {69c10bcfbca894a5bf8d208d001b829d4d0}
> / / / / _ \/ -_|_-< http://www.ravnaandtines.com/
> /_/ /_/_//_/\__/___/@ravnaandtines.com PGP key on page
Received on Thu Apr 18 2002 - 05:15:17 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US