Steven Blair <st**********@btinternet.com> wrote:
Simple to use and simple to code.
Doesnt have to be complex encryption.
Unfortunately the bounds of "same size, same range of characters" does
complicate things quite a lot. I'll see whether I can come up with
anything, but it really is a bit of a pain.
I mean, you could do the *really* trivial thing where you take a key of
the same length and just (for each character) add the key to the
plaintext, wrapping round from '9' to '0'. To decrypt you just subtract
the key from the cyphertext, wrapping from '0' back to '9' if you see
what I mean.
It hideously insecure, but it would work in a pinch...
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too