Encrypting a short string?
Steve Holden
steve at holdenweb.com
Tue Feb 19 22:06:10 EST 2008
Roy Smith wrote:
> In article <mailman.993.1203474309.9267.python-list at python.org>,
> Steve Holden <steve at holdenweb.com> wrote:
>
>> Of course, but ROT13 ^ (2n*1) is equivalent to ROT13 for all positive
>> integer n.
>
> Why restrict that to positive integers? I believe it works for all
> integers. But I do think you meant 2n+1, not 2n*1.
Yes, I did. "*" and "+" are much closer in my mind than they are on the
keyboard :-)
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