Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!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: encryption Message-ID: <1194262055.856221.144280@z9g2000hsf.googlegroups.com> X-Comment-To: comp.lang.java.security Newsgroups: comp.lang.java.security In-Reply-To: References: Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 18 Date: Wed, 27 Apr 2011 16:07:52 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303920472 96.60.20.240 (Wed, 27 Apr 2011 11:07:52 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 11:07:52 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.security:50 To: comp.lang.java.security On Oct 31, 3:00 am, "pjohnson145" wrote: > hi: > > i am trying to develop a simple program to encrypt and decrypt text in a > text file. I am having trouble generating the key and storing the encrypted > file and then translating the ANSII/ASCII value to that letter or symbol in > the file. any help will be greatly appreciated > > -tricia Look at this URL, there are a lot of samples. 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