0
8.6kviews
Encrypt "The key is hidden under the door" using playfair cipher with keyword "domestic".
1 Answer
written 8.0 years ago by |
Step 1: Formation of Secret Key
D | O | M | E | S |
---|---|---|---|---|
T | I/J | C | A | B |
F | G | H | K | L |
N | P | Q | R | U |
V | W | X | Y | Z |
Intiially start filling in the keyword from extreme left.
We by default consider I/J to be together unless specified otherwise.
Now once all letters of keywords are assigned, we start from A and start writing all those alphabets which are not present in keyword.
Step 2: Create cipher text
P.T. | th | ek | ey | is | hi | dx | de | nu | nd | er | th | ed | ox | Or |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
C.T. | cf | ar | ae | bo | gc | mv | os | pn | vt | ay | cf | so | mw | Ep |
If same alphabet if repeated in plain-text e.g. “d in hidden”, then we split them with a $“\underline{x}”$ in between i.e. “dx” and “de”
Now spot the two letters in the 5x5 matrix. If