Example 7.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 The encoding function will be
that is, 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 or We could have used a larger alphabet or a different shift.