Q. 87

Question

Cryptography; One method of encryption is to use a matrix to encrypt the message and then use the corresponding inverse matrix to decode the message. The encrypted matrix, E, is obtained by multiplying the message matrix, M, by a key matrix, K. The original message can be retrieved by multiplying the encrypted matrix by the inverse of the key matrix. That is, E=M·K and M=E·K-1.

(a) Given the key matrix K=211110111 , find its inverse, K-1. [Note: This key matrix is known as the Q23 Fibonacci encryption matrix.]

(b) Use your result from part (a) to decode the encrypted matrix E=473433443627474120

(c) Each entry in your result for part (b) represents the position of a letter in the English alphabet (A = 1, B = 2,C = 3, and so on). What is the original message? 

Step-by-Step Solution

Verified
Answer

(a) The inverse of the key matrix =10-1-1110-11

(b) The message matrix is M=13120891962114

(c) The original message is "Math is fun".

1Step 1. Given data


The encrypted matrixE, is obtained by multiplying the message matrixM, by a key matrixK. The original message can be retrieved by multiplying the encrypted matrix by the inverse of the key matrix. That is, E=M.K and M=E·K-1.

We have the given key matrix K=211110111

2Step 2. Inverse matrix

(b) First we have to find KI3 first, we have to form

KI3=211100110010111001

Now let us convert the left side of the matrix into its reduced echelon form.

By performing the operation R1=r12,

221212120202110010111001112121200110010111001

Substracting the first row from the second row,

112121200111120120121000111001112121200012121210111001

 subtracting the first row from the third row,

112121200012121210111121120120010112121200012121210012121201

Multiply the second row by 2

112121200202122122122120012121201112121200011120012121201

Perform the operation R3=r3-r22we get,

11212120001112000121212+1212+120110112121200011120001011

Perform the operation R1=r1-r22

10121212+1212+1201000111200010111    0    1    1    1    00    1    1    1    2    00    0    1    0    1    1

Subtract the third row from the first row,

100011101(1)01011120001011100101011120001011

Add second and third row, we get

1001010+01+01+11+0210+1001011100101010111001011

Therefore, the inverse key matrix is1    0    11    1    10    1    1

3Step 3. Messege matrix

(b)To find the message matrix M,we have to find the product of the two matrices K-1 and E.

EK1=473433443627474120101111011        =4734343347+34+334436362744+36+274741412047+41+20        =13120891962114

The message matrix M=13120891962114

4Step 4. Original message

(c) Each number in the matrix represents a letter of the English alphabet. Therefore,

13120891962114
MATHISFUN

Hence, the original message is "Math is fun".