Hill Cipher
A linear cipher that multiplies blocks of letters by a matrix mod 26.
Polygraphicdemo
Objectives
Encrypt and decrypt a block with an n × n key matrix mod 26.
Determine whether a matrix is a usable key from its determinant mod 26.
Explain why linearity lets a known-plaintext attack recover the key.