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: Mr. Tines <tines_at_ravnaandtines.com>
Date: Tue, 16 Apr 2002 21:57:15 +0100
Message-ID: <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

Received on Tue Apr 16 2002 - 15:57:15 CDT

Original text of this message

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