1) Bob can decrypt the message by multiplying the encrypted message by the inverse of the 3x3 matrix that his friend gave him, if it exists.

2)Yes she can! Reason being that this is a linear system in which input $ X $ yields output $ Y $ and input $ \bar{X} $ yields output $ \bar{Y} $.

Therefore, $ a*X + b*\bar{X} \to a*Y + b*\bar{Y} $ where $ a, b \in \mathbb{C} $

3)First, one has to find the matrix that was used in encoding. To find this, we take input $ (1,0,4,0,1,0,1,0,1) $ and turn it into matrix $ \begin{Bmatrix}1 & 0 & 4\\ 0 & 1 & 0\\ 1 & 0 & 1\end{Bmatrix} $. Then find the inverse of the output matrix $ \begin{Bmatrix}2 &0&0\\0&1&0\\0&0&3\end{Bmatrix} $ which is $ \begin{Bmatrix}\frac{1}{2}&0&\frac{1}{3}\\0&1&0\\ 2&0&\frac{1}{3}\end{Bmatrix} $ being the inverse of the secret matrix.

multiplying $ \begin{Bmatrix}2&23&3\end{Bmatrix} $ by the inverse of the secret matrix yields matrix $ \begin{Bmatrix}2&23&5\end{Bmatrix} $

which is the answer to the secret message being B W E.

Alumni Liaison

Questions/answers with a recent ECE grad

Ryne Rayburn