For Programmers: Free Programming Magazines  


Home > Archive > Java Security > November 2007 > Two way encription with Java









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Two way encription with Java
pavel.orehov@gmail.com

2007-11-04, 4:37 am

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

pavel.orehov@gmail.com

2007-11-05, 8:13 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/Sec...tionexample.htm

bcr666

2007-11-05, 7:25 pm

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/

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com