Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Decrypt oracle data with java
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 Fri Apr 19 2002 - 03:46:25 CDT