Extended Straddling Checkerboard: Difference between revisions
Content added Content deleted
m (→{{header|Wren}}: Preamble - should read for consistency with ‘Python’ example.) |
(Attempted to make this into a draft task now a way forward seems reasonably clear.) |
||
Line 1: | Line 1: | ||
{{draft task}} |
|||
⚫ | |||
;Task |
|||
⚫ | |||
Implement encoding and decoding of a message using the extended straddling checkerboard, CT-37w, described in the reference below. |
|||
You may switch the codes for F/L (99) and SUPP (98) to help differentiate the code for '9' from that of '999'. So we would then have F/L (98) and SUPP (99). |
|||
⚫ | |||
There is no need to create a word dictionary for CODE (6). It suffices to just include CODE followed by some 3 digit number in the message to be encoded. |
|||
Test your solution by encoding and decoding the message: |
|||
'Admin ACK your MSG. CODE291 SEND further 2000 SUPP to HQ by 1 March' |
|||
⚫ | |||
:* [[Straddling_checkerboard|Straddling checkerboard ]] |
:* [[Straddling_checkerboard|Straddling checkerboard ]] |
||
;Reference: |
|||
References: |
|||
:* Cipher Machines web page on Checkerboards: [https://www.ciphermachinesandcryptology.com/en/table.htm Checkerboards] |
:* Cipher Machines web page on Checkerboards: [https://www.ciphermachinesandcryptology.com/en/table.htm Checkerboards] |
||