Example
Using "playfair example" as the key, (assuming I and J are interchangeable) the table becomes:
P L A Y F I R E X M B C D G H K N O Q S T U V W ZEncrypting the message "Hide the gold in the tree stump":
HI DE TH EG OL DI NT HE TR EX ES TU MP ^1. The pair HI forms a rectangle, replace it with BM | |
2. The pair DE is in a column, replace it with OD | |
3. The pair TH forms a rectangle, replace it with ZB | |
4. The pair EG forms a rectangle, replace it with XD | |
5. The pair OL forms a rectangle, replace it with NA | |
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 | |
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 "BMODZBXDNABEKUDMUIXMMOUVIF".
Read more about this topic: Playfair Cipher
Famous quotes containing the word example:
“Our intellect is not the most subtle, the most powerful, the most appropriate, instrument for revealing the truth. It is life that, little by little, example by example, permits us to see that what is most important to our heart, or to our mind, is learned not by reasoning but through other agencies. Then it is that the intellect, observing their superiority, abdicates its control to them upon reasoned grounds and agrees to become their collaborator and lackey.”
—Marcel Proust (18711922)