๐Ÿ” Hill Cipher

Hill Cipher โ€” Linear algebra block cipher (matrix multiplication)

๐Ÿ“ Encryption Formula

C = M ร— K mod 26

D = Kโปยน ร— C mod 26

K is a 2ร—2 invertible matrix, gcd(det(K), 26) = 1

Each coefficient mod 26

Matrix Preview:

3
2
2
7

Non-letter characters will be ignored; insufficient length auto-padded with X