in reply to char. VS char.

You might also look at Vigenère Cypher for what it looks like if you take this kind of code to its logical conclusion.

—John