Two way encription with Java

  • Follow


Hi,

I need to encrypt usernames and password in my application and save
them to an XML file. In addition I need to read these usernames and
passwords later from the same XML file and show to a user in not
encrypted form.

So I am looking for a way of encrypt strings in java in two way
encryption ?

Thanks,
Pavel

0
Reply pavel.orehov (12) 11/4/2007 8:36:44 AM

On Nov 4, 10:36 am, "pavel.ore...@gmail.com" <pavel.ore...@gmail.com>
wrote:
> Hi,
>
> I need to encrypt usernames and password in my application and save
> them to an XML file. In addition I need to read these usernames and
> passwords later from the same XML file and show to a user in not
> encrypted form.
>
> So I am looking for a way of encrypt strings in java in two way
> encryption ?
>
> Thanks,
> Pavel

http://www.java2s.com/Code/Java/Security/Basicsymmetricencryptionexample.htm

0
Reply pavel 11/5/2007 11:00:22 AM


On Nov 4, 2:36 am, "pavel.ore...@gmail.com" <pavel.ore...@gmail.com>
wrote:
> Hi,
>
> I need to encrypt usernames and password in my application and save
> them to an XML file. In addition I need to read these usernames and
> passwords later from the same XML file and show to a user in not
> encrypted form.
>
> So I am looking for a way of encrypt strings in java in two way
> encryption ?
>
> Thanks,
> Pavel

http://ciphersaber.gurus.com/

0
Reply bcr666 11/5/2007 6:08:34 PM

2 Replies
359 Views

(page loaded in 0.037 seconds)

Similiar Articles:













7/23/2012 6:52:20 PM


Reply: