How to solve/crack this algorithm?
Posted on 2011-09-13
Lets say I got an encryption algorithm which consist of the following UNKNOWN
Two 4x4 matrices. Say M1 and M2.
Two vector. Say V1 and V2.
It will go through 2 rounds of encryption.
In round 1, a plaintext P1 is multiplied by the 4x4 matrix M1.... and followed by an addition of vector, V1. Which produces say R1.
( M1 x P1 ) + V1 = R1
In round 2, R1 is multiplied by another 4x4 matric, M2... and followed by an addition of vector, V2. Which end product is the encrypted text say C1.
( M2 x R1 ) + V2 = C1.
How do I solve for the unknowns?