in reply to Lewis Carroll's Code

An interesting cipher, though I wouldn't entrust Enron's accounting records to it :-).

It does seem that is should be possible to combine the encode/decode functionality into one routine. Though I do like the using the mod-operator to wrap around the alphabet and avoid generating the permuted substitution lines.

--rjray