Encrypting a short string?

Steve Holden steve at holdenweb.com
Wed Feb 20 03:23:33 CET 2008


David H Wild wrote:
> In article <13rmlec867jcnc2 at corp.supernews.com>,
>    Steven D'Aprano <steve at REMOVE-THIS-cybersource.com.au> wrote:
>>> I really don't recommend the ROT13 cipher, as this is extremely easy to
>>> crack.  Most grade school kids could break this one in seconds.  ;-)
> 
> 
>> I think you missed the point. Any recommendation to use ROT13 is likely
>> to be a joke. A recommendation to use Triple ROT13 is *absolutely* a
>> joke.
> 
> ROT13 does have a legitimate use, but it's not as a cypher. It is really
> the equivalent of the newspaper quiz where the answers are upside down at
> the bottom of the page. By doing this you stop seeing the answers too
> early.
> 
Of course, but ROT13 ^ (2n*1) is equivalent to ROT13 for all positive 
integer n. Hence the confident assertion that "A recommendation to use 
Triple ROT13 is *absolutely* a joke".

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/




More information about the Python-list mailing list