Hill Cipher

The Hill cipher is a polygraphic substitution cipher based on linear algebra. Invented by Lester Hill in 1929, this cipher uses matrices and matrix multiplication to mix up the plaintext. Wikipedia has an excellent example of how this algorithm works. Note: This implementation supports 4 numbers only.

Plaintext
Matrix 1
Matrix 2
Matrix 3
Matrix 4

Pad Character:
If your text is too long, it will be padded with an extra character.

Ciphertext
You must enter the ciphertext.