Re: Encryption done the Perfectly Wrong Way(tm)

[prev] [thread] [next] [lurker] [Date index for 2006/08/21]

From: David Cantrell
Subject: Re: Encryption done the Perfectly Wrong Way(tm)
Date: 11:24 on 21 Aug 2006
On Sat, Aug 19, 2006 at 11:20:45PM +0300, Peter Pentchev wrote:

>      Taking the numeric code (in EBCDIC, as previously mentioned) of
> a letter, subtracting it from a constant number, then subtracting the
> result from *another* constant number, is indeed equivalent to adding a
> third constant number to the original numeric code of the letter.
> ...
>                I could convert a piece of text from ASCII to EBCDIC and
> back, just to see what comes out...  But I've never - never - NEVER even
> imagined that I could ever actually *come across* it in any kind of Real
> Life(tm) and Real Job(tm).  Oh, the sweet delusions of youth.

Look on the bright side - if you were to instead use ASCII like all
sensible people do, then you could use a substitution table instead of a
trivial Caesar cipher, making the passwords an order of magnitude harder
to crack[1][2]!

[1] in the same way that a swimming pool is an order of magnitude warmer
than rain water
[2] more security with the same input and output! isn't it great!

-- 
David Cantrell | Nth greatest programmer in the world

What is the difference between hearing aliens through the
fillings in your teeth and hearing Jesus in your heart?

Generated at 23:01 on 22 Aug 2006 by mariachi 0.52