Consider an association of the alphabet with numbers in the following conversion table and given matrices and . Encode and decode the message " DO NOT COME"
And let
.
a) Enoding the message:
First, using the coversion table above, find the corresponding string of numbers associate with this message.
is equivalent to
Next, divide the string of numbers into pairs and group them in vectors. Notice that the number of the letters in the plaintext is odd and is not divisible by 2, therefore, we add a dummy letter "E" to the end of the code and form eight different vectors. The following string of numbers is produced by muliplying the eight vectors by A.
and it is the message that should be transimited.
b) Decode the message:
Assuming that you have and , and the coversion table, and received the following message. You want to decode this message.
First, divide it into pairs and form five vectors. Then, multiplies each of these vectors by , and form the following string of numbers:
Finally using the conversion table, find letters of alphebet corresponding to these numbers, as a result, you will get
which will read as