A straddling checkerboard is a device for converting an alphanumeric plaintext into digits whilst simultaneously achieving fractionation (a simple form of information diffusion) and data compression relative to other schemes using digits. It also is known as a monôme-binôme cipher.

History

In 1555, Pope Paul IV created the office of Cipher Secretary to the Pontiff. In the late 1580s, this position was held by members of the Argenti family, most notably Giovanni Batista and his nephew, Matteo. Matteo is credited for designing what is now called the straddling checkerboard cipher.[1] In more modern times it was used by communist forces during the Spanish Civil War in order to protect their radio and written transmissions. It was later used as the basis for the message-to-digits step in the VIC cipher.

Mechanics

Setup

A straddling checkerboard is set up something like this:

 01234 56789
  ET AO N RIS
2 BCDFG HJKLM
6 PQ/UV WXYZ.

The header row is populated with the ten digits, 0-9. They can be presented in order, as in the above table, or scrambled (based on a secret key value) for additional security. The second row is typically set up with eight high-frequency letters (mnemonics for the English language include; 'ESTONIA-R', 'A SIN TO ER(R)', 'AT ONE SIR', 'AERO TINS'), leaving two blank spots; this row has no row coordinate in the first column. The remaining two rows are labeled with one of the two digits that were not assigned a letter in the second row, and then filled out with the rest of the alphabet, plus the two symbols '.' and '/'.

Similar to the ordering of the digits in the header row, the alphabet characters can be presented in order (as it is here), or scrambled based on a secret keyword/phrase.

Enciphering

Letter-Encipherment: To encipher a letter in the second row is simply replaced by the number labeling its column. Characters in the third and fourth rows are replaced by a two-digit number representing their row and column numbers (with the row coordinate written first, i.e. B=20)

Digit-Encipherment: To encipher a digit, there are a few possible methods (which must be known/agreed beforehand):

  • Single Digit Escape: Encode the numerical escape character (i.e. the slash '/') as per any letter, then write the required digit 'in-clear'. This means a digit is encrypted by 3 ciphertext characters; 2 for the escape character, 1 for the digit itself. In this scheme, each digit requires an escape character encoded before it.
  • Double-Digit Scheme: If the escape character is encoded by two different digits (e.g. '26' in the example above), then multiple digits can be encoded by writing each out twice. To 'escape' back to text the escape character is used. In this way a stream of digits can be encoded with only one escape character. This method cannot be used if the escape character is itself encoded by a double digit combination.
  • Triple-Digit Scheme: As per the double-digit scheme above, but triple digits are used. This was the mechanism used in the VIC cipher.'[2]

Example

The table below shows the conversion of string "ATTACK AT DAWN"[3] into numbers using the straddling checkerboard setup above.

PlaintextATTACKATDAWN
Numbers3 1 1 3 21273 1 223 655 

The resulting message, 3113212731223655 has to be secured by other means if the straddling checkerboard table is not scrambled. By passing digits through an additional transposition or substitution cipher stage can be used to secure message -- to whatever extent transposition or substitution can be considered secure.

For example, securing the message above using as a secret key digits "0452" -- digits of the secret key are repeated to get at least as many digits as there are digits in the message -- and adding modulo 10 for transposition produces:

Message digits 3113 2127 3122 3655
Key digits 0452 0452 0452 0452
Cipher digits 3565 2579 3574 3007

The message can also be ciphered with a substitution cipher using the same straddling checkerboard to convert the digits back to letters again:

Message numbers 3565257 93574 3007
Ciphertext ANWHR SANRO AEER

Deciphering is simply the reverse of these processes. Although the size of groups can vary, deciphering is unambiguous because whenever the next element to be deciphered starts with a 2 or a 6, it is a pair; otherwise, it is a singleton. If the letter decoded is the numerical escape character '/' then the next 1+ digits (depending on scheme) are to be interpreted as a digit.

Cryptographic properties

Compression: The more common characters are encoded by only one character, instead of two; this reduces the ciphertext size and potentially the cipher's proneness to a frequency attack.

Fractionation: Unlike in the Polybius Square (where every character is represented by a pair of digits), a straddling checkerboard will not encrypt each character with the same number of ciphertext digits. This makes it harder for a cryptanalysts to determine the boundaries between plaintext characters. This may be combined with a transposition (as it is in the VIC cipher) in order to locate the ciphertext letters of the same plaintext character at unknown locations in the ciphertext.

See also

References

  1. Wrixon, Fred (1998). Codes, Ciphers & Other Cryptic & Clandestine Communication. Black Dog & Leventhan Publishers. ISBN 1-57912-040-7.
  2. David Kahn. "Number One From Moscow". 1993.
  3. "Straddling Cipher"
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.