ROT13 Super-Optimizations

Monday, July 23rd, 2001 at 12:00 am | 1,522 views | trackback url
Tags:

Mon Jul 23 01:41:59 PDT 2001

ROT13 Super-Optimizations

It’s funny what a group of geeks with nothing to do sitting in an irc channel late nights can come up
with:

me: main(c){while(c=~getchar())putchar(~c-1/(~(a|32)/13*2-11)*13);}

me: perl -pi -e 'y/A-Za-z/N-ZA-Mn-za-m/;'

dave707:tr '[a-m][n-z]' '[n-z][a-m]'

anon: sed 'y/abcdefghijklmnopqrstuvwxyz/nopqrstuvwxyzabcdefghijklm/'

Some more tinkering has now produced an in-channel {en|de}coder for my hacky rot13 X-Chat plugin. Interesting puzzle problem solving skills come into play here.

One of the guys came up with the idea of using “compression” in the string, and randomizing the key used to encrypt the outgoing text. Has interesting possibilities, though we’re not in rot13-land if we go this route…

It’s fun to do “weekend crossword puzzles” like these. I need more of these kind of problem solving tests to get my neurons flowing.

Unable to sleep again. I hope this isn’t a trend.

Last Modified: Monday, July 23rd, 2001 @ 00:00

Leave a Reply

You must be logged in to post a comment.

Bad Behavior has blocked 909 access attempts in the last 7 days.