Republished copy of Daniel Bourdeau’s Unsolved Historical Ciphers, released under CC BY 4.0. Text unchanged; hosted by JIC alongside its translations; not an official copy by the author · View the original ↗
Twelve baxuxupeja qicijinati bemigasiqi
jakebiqoye kufohemige tuxaboboba gedocijiga
… xitonatula xopavajejo rope… tanaka

China / Japan · Chinese telegraph code with a letter condenser · 1916

"Tanaka" at Swatow to Sun Yat-sen, 3 April 1916

Sun Yat-sen
toSun Yat-sen

Swatow, 3 April 1916, 6.05 pm, to "Rosamonde Tokio" · intercepted by the Japanese Foreign Ministry · JACAR B03050738800 (Gaimushō 680682)

The condenser table was recovered from the ciphertext alone (177 letters) by testing every table of the systematic family known from Yamada Junzaburō’s condensers. 42 of about 44 characters are decoded; the last word, about two code groups, is garbled in the received copy. S. Tomokiyo’s attempts with Yamada’s own tables had failed, and no other decipherment was found.

Daniel Bourdeau · posted · updated

Method: key recovered from ciphertext-only · Extent: complete

Summary. In April 1916 the Japanese Foreign Ministry secretly obtained a 22-word telegram from a "Tanaka" at Swatow to "Rosamonde Tokio" (Soong Ching-ling's English name, so Sun Yat-sen's household) and could not decode it. S. Tomokiyo published it in 2021 without a decipherment, after trying the two code condensers known from Sun's Japanese supporter Yamada Junzaburō. The letters are the 20 consonants and 5 vowels of exactly such a condenser, and both known tables are systematic (alphabetical consonants, permuted vowels, filled row- or column-wise). That family is small, 57 600 keys with additives, and one of them, scored against a Chinese character model, stands eight standard deviations above the rest. The plaintext, in the standard telegraph codebook, is a field report from the revolutionaries' side at Swatow: 潮城由莫擎宇獨立。我軍亦光復汕頭。後莫率大隊來,令我退出鎮守府。我軍力薄,暫由翼□支持。文慧返[港]…… "Chaozhou city has been declared independent by Mo Qingyu. Our force too has recovered Swatow. Then Mo came with a large body and ordered us out of the garrison headquarters. Our force is weak; for now we are supported by 翼□. 文慧 is returning [to Hong Kong] …" This matches the events of 27 to 30 March 1916. Extent: 42 of about 44 characters; 港 is restored from a Morse slip (M), the last word (about two codes) is garbled in the received copy, and one name is unresolved.

Sequel: the same family of keys decodes some sixty more telegrams of Sun’s circle from the Ministry of Communications’ intercept files, 1916–17: Sun Yat-sen’s circle on the wire.

01 The documents

JACAR B03050738800 is a Foreign Ministry file of 29 April – 11 May 1916 on Sun Yat-sen's cipher telegrams. It contains (i) five telegrams from Sun in Tokyo to a policeman of the Hankow consulate, in four-figure groups, the "+111" code that Tomokiyo has already decoded; (ii) a despatch, 機密送第一號, from Foreign Minister Ishii to the acting consul at Swatow, himself named Tanaka, asking who this "Tanaka" was, why he wired Sun, whether he was misusing the consul's name, and "if at all possible" to decode the telegram; (iii) the telegram; and (iv) the Hankow consul-general's report of 11 May on Sun's next scheme (five-figure groups, digits reversed, 111 subtracted). Nothing in the file decodes the Swatow telegram.

Received-message form, Imperial Government Telegraphs, Tokio, 3 April 1916, from Swatow to Rosamonde Tokio: Twelve baxuxupeja …
The first sheet of the telegram (JACAR B03050738800, frame 680682; crop by S. Tomokiyo). Station from Swatow, No. 1507, 22 words, 3/4/16 6.05 pm; address "Rosamonde Tokio". Image: Diplomatic Archives of the Ministry of Foreign Affairs of Japan, via JACAR B03050738800, frame 680682; crop by S. Tomokiyo, Cryptiana.
Twelve  baxuxupeja qicijinati bemigasiqi jakebiqoye kufohemige tuxaboboba gedocijiga poyevayoxa
        leyoleveke biromapesa vorobenife xikebiqoye qekufiyaqa tijaqixiqo xitonatula xopavajejo
        ropezpo ngobunibai   tanaka

As transcribed from the form. Tomokiyo's transcription has gedoeijiga and xitohatula; the handwriting is c and n, and the decipherment requires exactly that. "Twelve" is the table indicator (Yamada's telegrams begin "Sixtyfour" for his 六十四號 table).

02 Structure

03 The key

All 40 × 120 × 2 × 2 × 3 = 57 600 keys of the family were applied to the clean syllable runs and the resulting four-figure groups scored with a traditional-Chinese character frequency model (unknown codes penalised). The best key (consonants rotated to begin at l, vowels e a i o u, column-major, 01-based, no additive) scores −360.6 where the population mean is −553.6 with s.d. 23.8; the runner-up is 49 points behind. The table is:

eaiou
l0121416181
m0222426282
n0323436383
p0424446484
q0525456585
r0626466686
s0727476787
t0828486888
v0929496989
x1030507090
y1131517191
z1232527292
b1333537393
c1434547494
d1535557595
f1636567696
g1737577797
h1838587898
j1939597999
k2040608000

Green: cell confirmed by a word that makes sense (41 cells). Amber: used only in a doubtful group. Dim: not used in this telegram. Note the u-column: k-u = 00 is confirmed twice (亦 0076, 力 0500), fixing the whole column.

04 The decipherment

Codebook = 電報新編 / 明密碼電報書 numbering (identical to the modern standard telegraph code for these characters). Dotted = emended letter · red = unresolved

ba xu · xe pe · ja qi · ci ji · na ti · be mi · ga si · qi ja · ke bi · qo ye · ku fo · ne mi · ge tu · xa bo · bo ba · ge do
3390    1004    3945    5459    2348    1342    3747    4539    2053    6511    0076    0342    1788    3073    7333    1775
潮      城      由      莫      擎      宇      獨      立      我      軍      亦      光      復      汕      頭      後

ci ji · ga po · ye va · yo xa · le yo · le ve · ke bi · ro ma · pe sa · vo ro · be ni · fe xi · ke bi · qo ye · qe ku · fi ya
5459    3764    1129    7130    0171    0109    2053    6622    0427    6966    1343    1650    2053    6511    0500    5631
莫      率      大      隊      來      令      我      退      出      鎮      守      府      我      軍      力      薄

qa ti · ja qi · xi qo · xi to · na tu · la xo · pa va · je jo · ro pe · za no · [ngobunibai]
2548    3945    5065    5068    2388    2170    2429    1979    6604    3263
暫      由      翼      □       支      持      文      慧      返      港      …
潮城由莫擎宇獨立。我軍亦光復汕頭。後莫率大隊來,令我退出鎮守府。我軍力薄,暫由翼□支持。文慧返港……

The events. On 26 March 1916 Mo Qingyu (莫擎宇), a regimental commander at Chaozhou under Long Jiguang's Chao-Mei garrison, was won over by Chen Jiongming, Lin Hu, He Haiming and the local revolutionaries; on the 27th he occupied Chaozhou city and wired the provincial authorities "率師占領潮城,宣布獨立": 潮城, the same word as in the telegram. On the 30th the Swatow guard troops declared for him and he formally proclaimed independence with his headquarters at Swatow. Sun's own Chinese Revolutionary Party men had meanwhile taken the town's garrison headquarters (鎮守使署); "Tanaka", one of the Japanese adventurers serving with them, reports on 3 April that Mo, arriving in force, has ordered them out, that they are too weak to resist, and that someone is returning, presumably to Tokyo to report. The Ministry suspected the sender of trading on the Swatow consul's name; the consul was also a Tanaka.

05 What remains uncertain

06 Method

  1. The JACAR file was examined page by page (the archive's image server refuses automated access; the PDF was supplied by hand) for context and to check the letters.
  2. Syllable statistics: the 20 + 5 alphabet and the deficit of u pointed to a systematic, column-major condenser.
  3. Brute force over the whole systematic family (57 600 keys) with a character-unigram score over the standard codebook (Unihan telegraph tables; the 1916 numbering verified on Tomokiyo's decoded Sun telegrams).
  4. Four doubtful groups examined by one-letter alternatives; the readings 光復, 支持, 莫, 潮城 chosen by sense and then found in the handwriting.
  5. Edit-distance search over the garbled tail (negative), then a Morse re-division search, which restores 港 and leaves the last word open. Historical check against the 26–30 March chronology of Mo Qingyu's rising.

07 Try the key

Type condenser letters (spaces ignored). Each consonant–vowel pair becomes two digits from the table above; pairs of syllables become codebook groups and are looked up in the standard telegraph code.

08 Sources

Analysis scripts, the codebook tables and the language model are in the repository (targets/sunyatsen/).