February 2020
Beginner
621 pages
19h 34m
English
The ciphertext
was encrypted using a Hill cipher with matrix
Decrypt it.
SOLUTION
A matrix is entered as . Type to multiply matrices and . Type to multiply a vector on the right by a matrix .
First, we need to invert the matrix mod 26:
In[1]:= Inverse[{{ 1,2,3},{ 4,5,6},{7,8,10}}]
Out[1]= {{-, -, 1}, {,, -2}, {1, -2, 1}}
Since we are working mod 26, we can’t stop with numbers like 2/3. We need to get rid of the denominators and reduce mod 26. To do so, we multiply by 3 to extract the numerators of the fractions, then multiply by the inverse of 3 mod 26 to put the “denominators” back in (see Section 3.3 ...
Read now
Unlock full access