Someone suggested I use a Hill cipher to transform English words into other English words. I provided a very simple example.
Using a hill cipher, find the matrix modulo 26 that replaces the plaintext word with the ciphertext word , where .
Express the answer as the modulo 26.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let A be the 2 X 2 Matrix.
A ∗ ⎣ ⎡ 1 9 7 0 1 9 ⎦ ⎤ ≡ ⎣ ⎡ 1 1 1 1 4 1 ⎦ ⎤ m o d 2 6
Let B = ⎣ ⎡ 1 9 7 0 1 9 ⎦ ⎤ m o d 2 6
To find the B − 1 modulo 2 6 so that A ≡ ⎣ ⎡ 1 1 1 1 4 1 ⎦ ⎤ ∗ B − 1 m o d 2 6
C = B ∣ I = ⎣ ⎡ 1 9 7 0 1 9 1 0 0 1 ⎦ ⎤ m o d 2 6
R o w 1 + R o w 2 ⟹
C = ⎣ ⎡ 1 9 0 0 1 9 1 1 0 1 ⎦ ⎤ m o d 2 6
1 1 ∗ R o w 1 and 1 1 ∗ R o w 2 ⟹
C = ⎣ ⎡ 1 0 0 1 1 1 1 1 0 1 1 ⎦ ⎤ m o d 2 6
⟹ B − 1 ≡ ⎣ ⎡ 1 1 1 1 0 1 1 ⎦ ⎤ m o d 2 6
⟹ A ≡ ⎣ ⎡ 1 1 1 1 4 1 ⎦ ⎤ ∗ ⎣ ⎡ 1 1 1 1 0 1 1 ⎦ ⎤ m o d 2 6 ≡ ⎣ ⎡ 9 2 2 4 1 1 ⎦ ⎤ m o d 2 6
⟹ det ( A ) = 5 1 m o d 2 6 ≡ 2 5 m o d 2 6 .
∴ det ( A ) ≡ 2 5 m o d 2 6 .
Note:
Using the plain text word T H A T
⎣ ⎡ 9 2 2 4 1 1 ⎦ ⎤ ∗ ⎣ ⎡ 1 9 7 ⎦ ⎤ = ⎣ ⎡ 1 1 1 ⎦ ⎤ m o d 2 6
⎣ ⎡ 9 2 2 4 1 1 ⎦ ⎤ ∗ ⎣ ⎡ 0 1 9 ⎦ ⎤ = ⎣ ⎡ 1 4 1 ⎦ ⎤ m o d 2 6
we obtain the ciphered word B L O B .