G
Guest
Guest
Archived from groups: rec.games.roguelike.nethack (More info?)
Benjamin Lewis <bclewis@cs.sfu.ca> wrote:
>
> You could also do rot18 with A..Z0..9, making it a little more
> difficult to distinguish letters from numbers in the encrypted text,
> and maintaining the property that the forward and inverse operations
> yield the same result.
I just about posted this earlier. It breaks down when you consider both
cases for letters. '8' maps to either 'q' or 'Q'. You either have to
have different mappings for upper and lower case, or run the entire
thing into a single map:
abcdefghjiklmnopqrstuvwxyzABCDE
FGHIJKLMNOPQRSTUVWXYZ0123456789
Keith
--
Keith Davies "English is not a language. English is a
keith.davies@kjdavies.org bad habit shared between Norman invaders
keith.davies@gmail.com and Saxon barmaids!"
http://www.kjdavies.org/ -- Frog, IRC, 2005/01/13
Benjamin Lewis <bclewis@cs.sfu.ca> wrote:
>
> You could also do rot18 with A..Z0..9, making it a little more
> difficult to distinguish letters from numbers in the encrypted text,
> and maintaining the property that the forward and inverse operations
> yield the same result.
I just about posted this earlier. It breaks down when you consider both
cases for letters. '8' maps to either 'q' or 'Q'. You either have to
have different mappings for upper and lower case, or run the entire
thing into a single map:
abcdefghjiklmnopqrstuvwxyzABCDE
FGHIJKLMNOPQRSTUVWXYZ0123456789
Keith
--
Keith Davies "English is not a language. English is a
keith.davies@kjdavies.org bad habit shared between Norman invaders
keith.davies@gmail.com and Saxon barmaids!"
http://www.kjdavies.org/ -- Frog, IRC, 2005/01/13