Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Playfair cipher
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Example == <!-- The images need to be shrunk by 20% to 50% to work at different screen sizes, using the image tag that specifies image size --> Using "playfair example" as the key (assuming that I and J are interchangeable), the table becomes (omitted letters in red): [[File:Playfair Cipher building grid omitted letters.png|frameless|upright=1.5]] The first step of encrypting the message "hide the gold in the tree stump" is to convert it to the pairs of letters "HI DE TH EG OL DI NT HE TR EX ES TU MP" (with the null "X" used to separate the repeated "E"s). Then: {| class="wikitable" |- | 1. The pair HI forms a rectangle, replace it with BM || [[File:Playfair Cipher 01 HI to BM.png|frameless|upright=1.5]] |- | 2. The pair DE is in a column, replace it with OD || [[File:Playfair Cipher 02 DE to OD.png|frameless|upright=1.5]] |- | 3. The pair TH forms a rectangle, replace it with ZB || [[File:Playfair Cipher 03 TH to ZB.png|frameless|upright=1.5]] |- | 4. The pair EG forms a rectangle, replace it with XD || [[File:Playfair Cipher 04 EG to XD.png|frameless|upright=1.5]] |- | 5. The pair OL forms a rectangle, replace it with NA || [[File:Playfair Cipher 05 OL to NA.png|frameless|upright=1.5]] |- | 6. The pair DI forms a rectangle, replace it with BE|| |- | 7. The pair NT forms a rectangle, replace it with KU || |- | 8. The pair HE forms a rectangle, replace it with DM || |- | 9. The pair TR forms a rectangle, replace it with UI || |- | 10. The pair EX (X inserted to split EE) is in a row, replace it with XM || [[File:Playfair Cipher 10 EX to XD.png|frameless|upright=1.5]] |- | 11. The pair ES forms a rectangle, replace it with MO || |- | 12. The pair TU is in a row, replace it with UV || |- | 13. The pair MP forms a rectangle, replace it with IF || |} Thus the message "hide the gold in the tree stump" becomes "BM OD ZB XD NA BE KU DM UI XM MO UV IF", which may be restructured as "BMODZ BXDNA BEKUD MUIXM MOUVI F" for ease of reading the cipher text.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Playfair cipher
(section)
Add topic