CodeKit

Hill Cipher

Encrypt or decrypt A–Z text with a 2×2 Hill matrix. Numbers outside A–Z are removed and odd lengths are padded with X.

Key matrix

Determinant must be coprime with 26.

Max 10,000 characters0 / 10,000

Result