1
$\begingroup$

Is the point of a known plaintext attack on a Hill Cipher to get the matrix key?

$\endgroup$

1 Answer 1

1
$\begingroup$

Indeed. If the matrix is $n$ by $n$, and you have $n$ many known plaintext blocks with corresponding ciphertext, you get $n^2$ linear equations in $n^2$ unknowns (the matrix elements) (modulo the alphabet size), which very often can be solved uniquely.

$\endgroup$
1
  • $\begingroup$ @Connor Glad I could help! $\endgroup$ Feb 22, 2015 at 18:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.