next up previous
Next: A perfect code? Up: Simple Codes Previous: Letter Subsitution

Using a keyword

A more complex approach would be to choose a word, and somehow combine each letter of this word with successive letters of the message. A trivial example of this that is used in the computing world is to convert the message and the word (or key) into a binary representation and then use XOR (exclusive OR) to combine the two streams of bits. To allow for the fact that the key is (presumably) shorter than the message we repeat it over and over again to provide enough bits to enocde the message.

However, there are still at least two ways we can attempt to crack this sort of message.


next up previous
Next: A perfect code? Up: Simple Codes Previous: Letter Subsitution
Stephen White
2000-03-28