Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #8955
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.42!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!198.186.194.247.MISMATCH!news-out.readnews.com!transit3.readnews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
|---|---|
| From | Lew <lewbloch@gmail.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Simple alphanumeric "encryption"? |
| Date | Tue, 18 Oct 2011 08:43:00 -0700 (PDT) |
| Organization | http://groups.google.com |
| Lines | 28 |
| Message-ID | <13972545.1242.1318952580309.JavaMail.geo-discussion-forums@prfk19> (permalink) |
| References | <S8idnWT1OekbSwbTnZ2dnUVZ_q-dnZ2d@westnet.com.au> <alpine.DEB.2.00.1110171515220.10855@urchin.earth.li> <pIKdnalVhP-ubQHTnZ2dnUVZ_hCdnZ2d@westnet.com.au> |
| Reply-To | comp.lang.java.programmer@googlegroups.com |
| NNTP-Posting-Host | 66.109.106.72 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Trace | posting.google.com 1318952759 18877 127.0.0.1 (18 Oct 2011 15:45:59 GMT) |
| X-Complaints-To | groups-abuse@google.com |
| NNTP-Posting-Date | Tue, 18 Oct 2011 15:45:59 +0000 (UTC) |
| In-Reply-To | <pIKdnalVhP-ubQHTnZ2dnUVZ_hCdnZ2d@westnet.com.au> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=66.109.106.72; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T |
| User-Agent | G2/1.0 |
| X-Google-Web-Client | true |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:8955 |
Show key headers only | View raw
Qu0ll wrote: > "Tom Anderson" wrote: > > Sorry about the lack of indent... > > ------------------------------------------------------------------------------------------------ > Oddly, i have a paper called "Ciphers with Arbitrary Finite Domains" > sitting in my reading queue right not. > > You have at least two basic routes of attack here. > > First, recognise that alphanumerism is just an encoding of a general bit > string. Decode the alphanumeric string into a bit string (by taking it as > a base-36 or base-62 number, or whatever), encrypt that, then re-encode > it. BigInteger has a constructor which takes a string and a radix, and a > toString method which takes a radix. ... [snip] > ------------------------------------------------------------------------------------------------ > > OK, thanks Tom for that - the first option looks promising. > > I have 2 questions: > > Is there any significance in the choice of numbers 36 and 62? Of course. It's the number of digit symbols available. Using the standard 26-letter English alphabet and the numerals zero through nine, you have 36 symbols if you restrict to one case and 62 if you allow upper and lower case. -- Lew
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Simple alphanumeric "encryption"? "Qu0ll" <Qu0llSixFour@gmail.com> - 2011-10-17 18:16 +1100
Re: Simple alphanumeric "encryption"? Arne Vajhøj <arne@vajhoej.dk> - 2011-10-17 08:13 -0400
Re: Simple alphanumeric "encryption"? Travers Naran <tnaran@gmail.com> - 2011-10-18 06:47 -0700
Re: Simple alphanumeric "encryption"? David Segall <david@address.invalid> - 2011-10-20 00:36 +1100
Re: Simple alphanumeric "encryption"? Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-10-17 12:27 +0000
Re: Simple alphanumeric "encryption"? Tom Anderson <twic@urchin.earth.li> - 2011-10-17 16:45 +0100
Re: Simple alphanumeric "encryption"? "Qu0ll" <Qu0llSixFour@gmail.com> - 2011-10-18 14:18 +1100
Re: Simple alphanumeric "encryption"? "Qu0ll" <Qu0llSixFour@gmail.com> - 2011-10-18 14:25 +1100
Re: Simple alphanumeric "encryption"? Lew <lewbloch@gmail.com> - 2011-10-18 08:43 -0700
Re: Simple alphanumeric "encryption"? Tom Anderson <twic@urchin.earth.li> - 2011-10-20 20:57 +0100
Re: Simple alphanumeric "encryption"? B1ll Gat3s <wm.g4t3s@m1cr0s0f7.c0m> - 2011-10-17 21:33 -0400
Re: Simple alphanumeric "encryption"? Roedy Green <see_website@mindprod.com.invalid> - 2011-10-20 13:32 -0700
Re: Simple alphanumeric "encryption"? Roedy Green <see_website@mindprod.com.invalid> - 2011-10-20 13:36 -0700
csiph-web