ROT13 Super-Optimizations
Tags: irc
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.