(3. What is the decrypted message corresponding to (2,23,3)?)
Line 35: Line 35:
 
0 & 0 & 3 \end{array} \right]
 
0 & 0 & 3 \end{array} \right]
 
</math>
 
</math>
 +
 +
Using matlab,
 +
 +
<math> [X]
 +
=\left[ \begin{array}{ccc}
 +
\frac{-2}{3} & 0 & \frac{2}{3} \\
 +
0 & 1 & 0 \\
 +
4 & 0 & -1 \end{array} \right]

Revision as of 08:49, 18 September 2008

Info from question

$ \left[ \begin{array}{ccc} 1 & 0 & 4 \\ 0 & 1 & 0 \\ 1 & 0 & 1 \end{array} \right] \times \left[ \begin{array}{ccc} X \end{array} \right] = \left[ \begin{array}{ccc} 2 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 3 \end{array} \right] $

1. How can Bob decrypt the message?

Since Bob already knows the matrix [X] and the encrypted matrix, all he has to do to find the original matrix is to invert [X] and multiply with the encrypted matrix.

2. Can Eve decrypt the message without finding the inverse of the secret matrix?

The easiest way would be for her to find the inverse of the secret matrix. I think she can still find it somehow using linearity but I really can't remember how to do it.

3. What is the decrypted message corresponding to (2,23,3)?

First we find the matrix [X]:

$ [X] = \left[ \begin{array}{ccc} 1 & 0 & 4 \\ 0 & 1 & 0 \\ 1 & 0 & 1 \end{array} \right]^{-1} \times \left[ \begin{array}{ccc} 2 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 3 \end{array} \right] $

Using matlab,

$ [X] =\left[ \begin{array}{ccc} \frac{-2}{3} & 0 & \frac{2}{3} \\ 0 & 1 & 0 \\ 4 & 0 & -1 \end{array} \right] $

Alumni Liaison

Ph.D. 2007, working on developing cool imaging technologies for digital cameras, camera phones, and video surveillance cameras.

Buyue Zhang