Given is a square matrix $M$ over a field $F$, we have a key exchange with the following conditions:
- Person $X$ sends a message to Person $Y$: $C_{1}=AM$, where $A$ is a randomly chosen square matrix.
- Person $Y$ sends a message to Person $X$: $C_{2}=MB$, where $B$ is a randomly chosen square matrix.
- Both can compute the secret key $K=AMB$.
The question is how to find $K$ in polynomial time in the size of the matrix ring without knowing $M$, or alternatively to prove the security of the given protocol.
Can anybody help me with this problem? I am really stuck with it and don't see a way to solve it.