The Playfair Cipher
S | H | A | W | N |
B | C | D | E | F |
G | I | K | L | M |
O | P | Q | R | T |
U | V | X | Y | Z |
The Bacon Station
The Playfair Cipher:
The cipher was invented in 1854 by Charles Wheatstone, but was named after Lord Playfair who promoted the use of the cipher.
By Samuel Laurence - Page 53 of Apples to Atoms by W. D. Hackmann (London, ca. 1986), Public Domain, https://commons.wikimedia.org/w/index.php?curid=4864902
Charles Wheatstone
Lord Lyon Playfair
Public Domain
http://en.wikisource.org/wiki/Page:Popular_Science_Monthly_Volume_28.djvu/10 |Date = 1885-1886 |Author = Unknown Category:Popular Science Monthly
About Playfair Ciphers:
About Playfair Ciphers:
About Playfair Ciphers:
http://www.publicdomainpictures.net/hledej.php?hleda=key
The Playfair Cipher in National Treasure:
https://www.youtube.com/watch?v=y0YvaorWqP8
About Playfair Cipher Grid Tables:
S | H | A | W | N |
B | C | D | E | F |
G | I | K | L | M |
O | P | Q | R | T |
U | V | X | Y | Z |
About Playfair Cipher Grid Tables:
S | H | A | W | N |
B | C | D | E | F |
G | I | K | L | M |
O | P | Q | R | T |
U | V | X | Y | Z |
About Playfair Cipher Grid Tables:
M | A | R | I | N |
E | B | C | D | F |
G | H | J | K | L |
O | P | S | T | U |
V | W | X | Y | Z |
About Playfair Cipher Grid Tables:
M | A | R | I | N |
E | B | C | D | F |
G | H | J | K | L |
O | P | S | T | U |
V | W | X | Y | Z |
How to Encode a Message:
How to Encode a Message:
4. Next, you take your letter pairs and look at their positions in the grid.
How to Encode a Message:
4.
b. If the letters appear on the same column of your table, replace them with the letters immediately below, wrapping around to the top if necessary. For example, using the table above, the letter pair ER would be encoded as LY.
How to Encode a Message:
4.
c. If the letters are on different rows and columns, replace them with the letters on the same row respectively but at the other pair of corners of the rectangle defined by the original pair. The order is important - the first letter of the pair should be replaced first. For example, using the table above, the letter pair CR would be encoded as EP.
The Playfair Cipher in National Treasure:
https://www.youtube.com/watch?v=7tNEph7L0dU
How to Decode a Message:
How to Decode a Message:
3. Break the code into two-letter chunks if it is not. Remember sometimes to make it not look like a playfair cipher, people would remove all the spaces.
PNFCHDTSNONQGPAZ
PN FC HD TS NO NQ GP AZ
How to Decode a Message:
4. Next, you take your letter pairs and look at their positions in the grid.
How to Decode a Message:
4.
b. If the letters appear on the same column of your table, replace them with the letters immediately above, wrapping around to the bottom if necessary. For example, using the table above, the letter pair LY would be decoded as ER.
How to Decode a Message:
4.
c. If the letters are on different rows and columns, replace them with the letters on the same row respectively but at the other pair of corners of the rectangle defined by the original pair. The order is important - the first letter of the pair should be replaced first. For example, using the table above, the letter pair EP would be decoded as CR.
Let us practice:
PN FC HD TS NO NQ GP AZ
TH | EB | AC | ON | ST | AT | IO | NX |
Removing the appropriate spaces you get:
THE BACON STATION
S | H | A | W | N |
B | C | D | E | F |
G | I | K | L | M |
O | P | Q | R | T |
U | V | X | Y | Z |
President Kennedy?
On August 2, 1943 President J. F. Kennedy, Jr. used a Playfair cipher to alert others of where the PT boat under his command was lost in a military conflict with the Japanese destroyer Amagiri which had rammed and sliced in half the American patrol boat (PT-109.)
Lt. (jg) John F. Kennedy aboard the PT-109 in the South Pacific, 1943. Public Domain https://www.jfklibrary.org/Asset-Viewer/6uFr51bTGkStW-CCqCVdvw.aspx
Lt. (jg) John F. Kennedy aboard the PT-109 in the South Pacific, 1943. Public Domain https://www.jfklibrary.org/Asset-Viewer/cYgtxzfq4ESRTmpibzkyJw.aspx
President Kennedy?
KXJEY UREBE ZWEHE WRYTU HEYFS �KREHE GOYFI WTTTU OLKSY CAJPO �BOTEI ZONTX BYBWT GONEY CUZWR �GDSON SXBOU YWRHE BAAHY USEDQ
Would you have saved Kennedy and his crew? Try to solve the cipher he sent:
First make your grid using the key
ROYAL NEW ZEALAND NAVY.
Hint: His cipher removed the J.
Can you make your grid correctly?
R | O | Y | A | L |
N | E | W | Z | D |
V | B | C | F | G |
H | I | K | M | P |
Q | S | T | U | X |
Would you have saved Kennedy and his crew? Try to solve the cipher he sent:
The Kennedy Cipher split into two letter pairs:
KX JE YU RE BE ZW EH EW RY TU HE YF SK RE HE GO YF I W TT TU OL KS YC AJ PO BO TE IZ ON TX BY BW TG ON EY CU ZW RG DS ON SX BO UY WR HE BA AH YU SE DQ
R | O | Y | A | L |
N | E | W | Z | D |
V | B | C | F | G |
H | I | K | M | P |
Q | S | T | U | X |
Would you have saved Kennedy and his crew? Try to solve the cipher he sent:
Translated one letter pair at a time:
PT BO AT ON EO WE NI NE LO ST IN AC TI ON IN BL AC KE TT ST RA IT TW OM IL �ES SW ME RE SU CO CE XC RE WO FT WE LV EX RE QU ES TA NY IN FO RM AT IO NX
R | O | Y | A | L |
N | E | W | Z | D |
V | B | C | F | G |
H | I | K | M | P |
Q | S | T | U | X |
*Note: there is a double TT that did not get translated. We can not do that in a Playfair Cipher. Some believe Kennedy did this to make people believe this was not a Playfair Cipher others think it is just a mistake he made.
Would you have saved Kennedy and his crew? Try to solve the cipher he sent:
Combine the pairs and complete the translation:
PT BOAT ONE OWE NINE LOST IN ACTION IN BLACKETT STRAIT TWO MILES SW MERESU COCE X CREW OF TWELVE X REQUEST ANY IN FORMATION X
R | O | Y | A | L |
N | E | W | Z | D |
V | B | C | F | G |
H | I | K | M | P |
Q | S | T | U | X |
**Note: COCE is misspelled. It is interpreted to supposedly mean COVE.
President Kennedy?
So did you get the translation to save Kennedy and his crew? Evans did!
Evans’ translation:
PT BOAT ONE OWE NINE LOST IN ACTION IN BLACKETT STRAIT TWO MILES SW MERESU COVE X CREW OF TWELVE X REQUEST ANY INFORMATION.
Are you ready to encode and decode?
Of course you are!