The Cardan Grille Cipher is a classical steganographic and transposition cipher attributed to Girolamo Cardano in the 16th century. It uses a physical grille—a piece of cardboard or paper with cut-out holes—to determine the positions in a blank text grid where plaintext letters are written. The remaining empty spaces are filled with null letters or random filler text, creating a seemingly innocuous message that conceals the true content.
This cipher is related to other transposition ciphers such as the Columnar Transposition Cipher and the Grid Transposition Cipher, which also rearrange letters according to a predetermined pattern rather than substituting them.
Cardan Grille Cipher: Encoding
Using an 8×8 grid, place each plaintext letter through the holes of the grille. Fill the remaining spaces with random letters. For example, encode the message HELLO WORLD (spaces are ignored):
Plaintext: HELLO WORLD
Grid with holes (X marks holes for plaintext letters):
X . . . . . . .
. . X . . . . .
. . . . X . . .
. . . . . . X .
. X . . . . . .
. . . X . . . .
. . . . . X . .
. . . . . . . X
Place letters in holes sequentially:
H . . . . . . .
. . E . . . . .
. . . . L . . .
. . . . . . L .
. O . . . . . .
. . . W . . . .
. . . . O X . .
. . . . . . . R
. D
Fill remaining empty spaces with random letters:
H Q Z T W K M R
A S E P N F O L
D J C V L X G T
K R F Y L M P Q
O U O A B W D S
M C N H Z B K V
T G Y Y J Q R U
P V F D E L S R
Ciphertext (row by row): HQZTWKMR ASEPNFOL DJCVLXGT KRFYLMPQ OUOBWDS MCNHZBKV TGYYJQRU PVFDLSRRCardan Grille Cipher: Decoding
To decode, overlay the same grille on the received 8×8 grid and read the letters through the holes in order:
Ciphertext Grid:
H Q Z T W K M R
A S E P N F O L
D J C V L X G T
K R F Y L M P Q
O U O A B W D S
M C N H Z B K V
T G Y Y J Q R U
P V F D E L S R
Apply grille holes:
H E L L O W O R L D
Plaintext: HELLO WORLDCardan Grille Cipher: Notes
The Cardan Grille Cipher demonstrates early steganographic principles, hiding plaintext within a grid of random letters. Its security depends entirely on keeping the grille pattern secret. Using an 8×8 grid allows for compact messages with up to 64 characters, while still matching your Cipher Converter’s constraints. This illustrates how physical tools enforce transposition patterns, similar to the Columnar Transposition Cipher and Grid Transposition Cipher.
The Cardan Grille Cipher is a classical steganographic and transposition cipher attributed to Girolamo Cardano in the 16th century. It uses a physical grille—a piece of cardboard or paper with cut-out holes—to determine the positions in a blank text grid where plaintext letters are written. The remaining empty spaces are filled with null letters or random filler text, creating a seemingly innocuous message that conceals the true content.
This cipher is related to other transposition ciphers such as the Columnar Transposition Cipher and the Grid Transposition Cipher, which also rearrange letters according to a predetermined pattern rather than substituting them.
Cardan Grille Cipher: Encoding
Using an 8×8 grid, place each plaintext letter through the holes of the grille. Fill the remaining spaces with random letters. For example, encode the message HELLO WORLD (spaces are ignored):
Plaintext: HELLO WORLD
Grid with holes (X marks holes for plaintext letters):
X . . . . . . .
. . X . . . . .
. . . . X . . .
. . . . . . X .
. X . . . . . .
. . . X . . . .
. . . . . X . .
. . . . . . . X
Place letters in holes sequentially:
H . . . . . . .
. . E . . . . .
. . . . L . . .
. . . . . . L .
. O . . . . . .
. . . W . . . .
. . . . O X . .
. . . . . . . R
. D
Fill remaining empty spaces with random letters:
H Q Z T W K M R
A S E P N F O L
D J C V L X G T
K R F Y L M P Q
O U O A B W D S
M C N H Z B K V
T G Y Y J Q R U
P V F D E L S R
Ciphertext (row by row): HQZTWKMR ASEPNFOL DJCVLXGT KRFYLMPQ OUOBWDS MCNHZBKV TGYYJQRU PVFDLSRRCardan Grille Cipher: Decoding
To decode, overlay the same grille on the received 8×8 grid and read the letters through the holes in order:
Ciphertext Grid:
H Q Z T W K M R
A S E P N F O L
D J C V L X G T
K R F Y L M P Q
O U O A B W D S
M C N H Z B K V
T G Y Y J Q R U
P V F D E L S R
Apply grille holes:
H E L L O W O R L D
Plaintext: HELLO WORLDCardan Grille Cipher: Notes
The Cardan Grille Cipher demonstrates early steganographic principles, hiding plaintext within a grid of random letters. Its security depends entirely on keeping the grille pattern secret. Using an 8×8 grid allows for compact messages with up to 64 characters, while still matching your Cipher Converter’s constraints. This illustrates how physical tools enforce transposition patterns, similar to the Columnar Transposition Cipher and Grid Transposition Cipher.