Professional Documents
Culture Documents
Playfair Ciphers: D C B R I F y A L P
Playfair Ciphers: D C B R I F y A L P
Playfair (KEY)
p l a y
f In a 5x5 matrix, write
i r b c d the letters of the word
“playfair” (for
e g h k m example) without
dups, and fill in with
n o q s t other letters of the
u v w x z alphabet, except I,J
used interchangeably.
Playfair encryption
p l a y f 1. Break plaintext into letter pairs
i r b c d If a pair would contain double letters,
split with x
Pad end with x
e g h k m hellothere becomes…
he lx lo th er ex
n o q s t
split with x
Pad end with x
e g h k m TESTING TOOLS
n o q s t
u v w x z
Plain text : Te st in gt ox ol sx
--; -- ; -- ,--