Example7.1
One of the first and most famous private key cryptosystems was the shift code used by Julius Caesar. We first digitize the alphabet by letting $\\text{A} = 00, \\text{B} = 01, \\ldots, \\text{Z} = 25\\text{.}$ The encoding function will be
that is, $A \\mapsto D, B \\mapsto E, \\ldots, Z \\mapsto C\\text{.}$ The decoding function is then
Suppose we receive the encoded message DOJHEUD. To decode this message, we first digitize it:
Next we apply the inverse transformation to get
or ALGEBRA. Notice here that there is nothing special about either of the numbers 3 or 26. We could have used a larger alphabet or a different shift.