Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!novia!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: pavel.orehov@gmail.com.remove-dii-this Subject: Re: Two way encription wi Message-ID: <1194260422.712649.325440@19g2000hsx.googlegroups.com> X-Comment-To: comp.lang.java.security Newsgroups: comp.lang.java.security In-Reply-To: <1194165404.385869.149800@z9g2000hsf.googlegroups.com> References: <1194165404.385869.149800@z9g2000hsf.googlegroups.com> Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 22 Date: Wed, 27 Apr 2011 16:07:51 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303920471 96.60.20.240 (Wed, 27 Apr 2011 11:07:51 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 11:07:51 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.security:48 To: comp.lang.java.security On Nov 4, 10:36 am, "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 --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24