On the Subject of Playfair Cipher
Encrypting secrets since 1854, exploding bombs since 2018.
AA = 2(B - H)
D = 2H - B
D > AA = B < H + ⅓H
Part 1 | |
---|---|
Sun | BECOZY |
Mon* | PLAY |
Tue | HIDDEN |
Wed* | SECRET |
Thu | CIPHER |
Fri* | FAIL |
Sat | PARTYHARD |
Part 2 | ||||
---|---|---|---|---|
Magenta | Blue | Orange | Yellow | |
SER and PAR | SAFE | EFAS | MESSAGE | GROOVE |
S# sum > 10 | CODE | EDOC | QUIET | ETIUQ |
D > AA | GROOVE | EVOORG | TEIUQ | QUITE |
else | MESSAGE | EGASSEM | SAFE | EDOC |
“S# sum” is the sum of all digits in the serial number.
“D” is the # of D batteries. “AA” is the # of AA batteries.
Part 3 | |
---|---|
0 Xs | |
1 Xs | ONE |
2 Xs | TWO |
3+ Xs | MANY |
*If lit BOB exists, use the next day instead.
If no vowel in S#, swap parts 1 & 2.
Now add all parts together to make a full key.
Reverse the full key if S# sum is prime.
Primes | |||||||
---|---|---|---|---|---|---|---|
2 | 3 | 5 | 7 | 11 | 13 | 17 | 19 |
23 | 29 | 31 | 37 | 41 | 43 | 47 | 53 |
Result Sequence | ||||||
---|---|---|---|---|---|---|
Magenta | Blue | Orange | Yellow | |||
ST | RI | KE | ABCD | CDAB | BADC | DABC |
KX | BCDA | DACB | ADCB | ABCD | ||
RY | KE | CDAB | ACBD | DCBA | BCDA | |
KX | DABC | CBDA | CBAD | CDAB | ||
ZT | RI | KE | ABDC | BDAC | BACD | DACB |
KX | BDCA | DBCA | ACDB | ACBD | ||
RY | KE | CABD | BCAD | CDBA | CBDA | |
KX | DCAB | CADB | DBAC | BDAC |
For each pair in grid:
Same Row -> Shift Left
Same Column -> Shift Up
Otherwise -> Same Row, Column of Other