Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.westnet.com.au!news.westnet.com.au.POSTED!not-for-mail NNTP-Posting-Date: Mon, 17 Oct 2011 02:17:26 -0500 From: "Qu0ll" Newsgroups: comp.lang.java.programmer Subject: Simple alphanumeric "encryption"? Date: Mon, 17 Oct 2011 18:16:48 +1100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 Message-ID: Lines: 18 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 124.149.41.137 X-Trace: sv3-SBmFeSIuInOb9TDx7ZIqFxtWhBxcdJb6V6wrATg6prNzcusvLMtoYUl3dkCcLIL3l2I1hos63CfYlvm!JbrVRXHpl/h1hp5RWHaVBr+O/WuzDAETIWJNxQVRG/mv5rlMf3ZGZw2c3uuW0K6W0sQga6+9iO4h!2SoCo4LqIceELJnxYEv1wA== X-Complaints-To: abuse@westnet.com.au X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1878 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:8902 I need to be able to encrypt/code an arbitrary string of up to about 50 alphanumeric characters into a string that also contains only alphanumeric characters. All of the encryption algorithms I have looked result in strings with non-ASCII characters in them (when the resulting bytes are turned into a string) which is not suitable. Is there a simple way to do this? It must be able to successfully be decrypted as well but doesn't need to be very sophisticated or extremely secure. -- And loving it, -Qu0ll (Rare, not extinct) _________________________________________________ Qu0llSixFour@gmail.com [Replace the "SixFour" with numbers to email me]