Hill Cipher
Multiply blocks of letters by a matrix, modulo 26. The cipher is linear, which later makes it easy to break.
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.