Hill Cipher Encoder/Decoder
Encrypt and decrypt text using the Hill cipher, a polygraphic substitution cipher based on matrix multiplication. Supports 2x2 and 3x3 key matrices with modular arithmetic.
How to Use Hill Cipher Encoder/Decoder
Enter text to encrypt or decrypt, choose a matrix size (2x2 or 3x3), provide the key matrix as comma-separated values, and select encrypt or decrypt mode. The tool performs matrix multiplication mod 26.
Step-by-Step Instructions
- Enter plaintext or ciphertext (letters only)
- Select matrix size and enter key values
- Choose encrypt or decrypt mode
- Click the button to process and copy the result
Related Tools
Word Counter
Count words, sentences, paragraphs, and characters in any text.
Character Counter
Count characters with and without spaces and track character limits.
Case Converter
Convert text between uppercase, lowercase, title case, and sentence case.
Lorem Ipsum Generator
Generate placeholder Lorem Ipsum text with 1 to 50 paragraphs.