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: 22 Apr 2002 02:55:33 -0700
Message-ID: <347d629d.0204220155.7df1ee0a@posting.google.com>


Thanks to all of you. So, I suppose it's impossible because we don't know the header struct.

Rick Wessman <Rick.WessmanNO_SPAM_at_oracle.com> wrote in message news:<a9olh10brd_at_drn.newsguy.com>...
> That and the fact the obfuscation toolkit prepends a header to the data to
> prevent double encryption of the data.
>
> Rick
>
> In article <3cbf24d5_at_news.wau.nl>, "Robert says...
> >
> >The problem may lie in the fact that Java uses Unicode (2 bytes/char) and
> >PL/SQL doesn't?
> >
> >just a guess
> >rob van lopik
> >"Samuel Zarza" <samuel_zarza_at_geocities.com> wrote in message
> >news:347d629d.0204180215.21043d92_at_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
> >
> >
>
> Rick Wessman
> Oracle Corporation
>
> The opinions expressed above are mine and do not necessarily reflect
> those of Oracle Corporation.
Received on Mon Apr 22 2002 - 04:55:33 CDT

Original text of this message

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