中文译本 · 原作 Daniel Bourdeau《Unsolved Historical Ciphers》 以 CC BY 4.0 发布,本页由 JIC 翻译,非原作者官方版本,译文如有出入以英文原页为准 · 查看英文原页 ↗
1394 · 1116 · 1273 · 250 · 1165 · 1405
972 · 148 · 1459 · 1482 · 1201 · 821
1320 · 384 · 1280 · 1216 · 1481 · 1483

美国 · 外交代码 · 1808

Armstrong 致 Madison 的代码附言,1808

John Armstrong
发信人John Armstrong
James Madison
收信人James Madison

Bourbon-l'Archambault,1808年8月30日 · Library of Congress,James Madison Papers,Series 1,reel 10 · Founders Online,Madison/99-01-02-3466

“THE = 972”代码是根据国务院自己用铅笔写在 Armstrong 1806年急件上的解码,以及 Tomokiyo 的部分代码表复原的,然后套用到这则附言上:49个码组中有48个读得通,最后一个改动一位数字后也读得通。Tomokiyo 的表覆盖了附言中约三分之一的码组;在档案、出版物或网上都没有找到完整的解读。

Daniel Bourdeau · 发布于 · 更新于

方法:外部明文复原密钥 · 范围:完整

摘要。美国驻法国公使 John Armstrong 在给国务卿 James Madison 的一封私人信件(Bourbon-l'Archambault,1808年8月30日)末尾,附了一则由49个数字码组组成的附言。这封信刊于 Founders Online,附言未经解读;S. Tomokiyo 的 Unsolved Historical Ciphers 收录了它,并给出约三分之一码组的部分读法,那是根据一封已知明文的信得出的。这套代码是 Armstrong 在1804年至1810年间使用的一种词与音节代码,约1,600个码组,按惯例以它表示“the”的码组972命名,从未公布过。这里是从另一个来源复原的:国务院急件簿的缩微胶卷(NARA M34,roll 13),国务院的一位书记在1806年10月一份长篇急件的每个码组上方都用铅笔写了解码。现已知约580个码组,足以解出整则附言,以及1808年2月22日另一封代码信件的大部分。解码后的附言:
Russel ought to be the consul: he is an American by birth, and is much better qualified than any other candidate. In a word, he is above men in general. Next to him in fitness is O'Mealy, but he is, like Warden, an Irishman.

相关页面:据说用这套代码写成的 John Quincy Adams 圣彼得堡急件,其实用的是另一套;而 Erving 1807年的信用的是 Pinckney 的代码:两套使馆代码。

01 文献

这是一封“私人”信件,写于温泉小镇 Bourbon-l'Archambault,Armstrong 当时正在那里疗养。它的明写部分是对 Madison 7月20日私人来信的答复:它驳斥了 Fulwar Skipwith(即将离任的驻巴黎商务代理)的抱怨,提醒说禁运在法国“not felt”,在英国则已被“forgotten”;而对于使馆秘书、巴黎领事职位的候选人 David Bailie Warden,只说了一句“a letter of the same character from me to the President … will give you my opinion of the fitness of M. Warden for the consular office at Paris: to this therefore I refer.”Armstrong 不愿明写的看法,随后以代码写在附言里。

Armstrong 亲笔写的代码附言
附言,Library of Congress,Madison Papers reel 10,frame 0521(局部)。码组之间用点隔开;and、much better、In a word、in general. Next to、but 这些词是明写的。图像:Library of Congress,James Madison Papers,Series 1,reel 10,frame 0521,来自 loc.gov。

Founders Online(Early Access 文献 99-01-02-3466,出自即将出版的 Papers of James Madison, Secretary of State Series)把码组印作如下;手稿的读法有一个码组与之不同(§6):

1394. 1116. 1273. 250. 1165. 1405.
970. 148. 1459. 1482. 1201. 821. 130. 821.
1429. 720. 970.  and  1482.  much better
992. 1319. 1048. 584. 687. 249. 736. 1013.
750. 967.  In a word  1459. 1482. 1202.
1561.  in general. Next to  927. 1090. 1052.
832. 1482. 934. 510. 860.  but  1459. 1482.
1320. 384. 1280. 1218. 1481. 1483. 555.

手稿中第二行以“972.”开头(Founders 的“970.”是 the 的误印)。

02 代码

Armstrong 在1804年至1810年间从巴黎发出的急件使用一套大型代码,其中 972 = the。Ralph Weber 对美国外交代码的综述指出,在美国驻法公使急件(Despatches from United States Ministers to France,DUSMF,NARA Record Group 59,microcopy M34,rolls 13–14)中,约有四十封信使用这套代码。Armstrong 1808年2月20日那封信用的不是这套代码,而是另一套独立的系统,其密钥尚未复原。复原出来的结构如下:

03 密钥的来源

3.1 1806年5月4日那封已知明文的信

有一封信的代码原件和明文抄本都留存了下来:Armstrong 1806年5月4日致 Madison 的信(Founders 99-01-02-0393),谈的是西班牙公使发现了有关佛罗里达的机密提议。Tomokiyo 已经用它给约230个码组定了值,其中几个标为存疑。这为本文提供了68个可靠值作为基础,其中包括 the, of, to, is, he, a, and, by, in, s, n,也显示了字母顺序的排列方式。

3.2 国务院的铅笔解码(M34 roll 13)

主要来源是缩微胶卷本身。NARA 已把 M34 roll 13(“Nov 12 1804 – Dec 27 1807”,目录 ID 188671172;393帧)数字化。第0192–0201帧载有1806年10月的一份长篇政治急件(写于 Lauderdale 勋爵离开巴黎后不久,带来“two Russian armies now entering Silesia”的消息),其中每个代码组上方都有书记写的解码。对整卷做了一遍打分,寻找远离墨迹的浅中灰像素,从而定位了带注释的帧;然后逐帧目视转录这些配对,并记录置信度等级及其帧号/行号。

第13卷,第0200帧:每个码组上方都有铅笔解码的代码急件
M34 roll 13,第0200帧,右页(急件第13页)。墨迹:Armstrong 的码组;上方的铅笔:国务院的解码:“she wears is nearly transparent — the late meeting of the Hungarian Diet & a pleasure camp in October which is to assemble a great proportion of her army under the command of Prince Charles can deceive no body … Two Russian armies are now entering Silesia and a third is destined for Moldavia …”。图像:U.S. National Archives,RG 59,microcopy M34 roll 13,第0200帧,来自 National Archives Catalog。

以这种方式收集到约500对,其中352对可以有把握地辨认。与1806年5月4日的值合并后,代码表共有580个不同的码组(§7)。铅笔字迹中的歧义(这卷是1940年代对浅淡石墨字迹拍摄的缩微胶卷)通过两项要求来解决:每种读法都必须落在它的字母顺序位置上,并且在各帧之间一致地重复出现。

3.3 插值

附言和二月那封信需要的码组中,有二十个不在这两个来源里。每一个都先根据上下文推断,再对照它在字母顺序中的位置核查;二十个全部吻合。例如:1394 位于 1393 purp 和 1395 Italy 之间,必定开启一段新的序列,它在三个彼此独立的地方都给出 ru(ru-in、Et-ru-ria、Y-ru-jo);250 位于 249 other 和 252 own 之间,读作 ought;1273 位于 1272 eight 和 1279 Emp 之间,读作 el;384 位于 383 w 和 385 was 之间,读作 ward;1320 位于 1319 li 和 1325 long 之间,读作 like;1483 位于 1482 is 和 1484 it 之间,读作 ish。

3.4 对照文本:1808年2月22日的信

Armstrong 1808年2月22日的私人信件(Founders 99-01-02-2733)在一篇明写的欧洲政治综述中嵌有约150个码组。它与那封已知明文的信没有共同的关键码组,因此可作为独立的检验。用合并后的代码表,它解码如下(有缺口):

The ruin of Gustavus is at last resolved. Russia is to seize Finland, while France & Denmark take possession of Sweden. Denmark cannot ha[ve] very willingly … independence. And it is certainly amongst the most cruel circumstances of the British attack on her Capital that it … her … of her … and [like]wise … of conduct, and thrown her completely into the arms of France, while the Danish Minister was this morning pouring out his complaints to me upon this subject, and stating the … of his government and the means taken by it to avert the introduction into Denmark of a general army … of Hamburg waited in the antichamber, with the intelligence that the Prince of Ponte Corvo had already entered Holstein … There is no one of even tolerable knowledge and sagacity who does not see this. Yet wonderful to tell Russia not only does not … but actually assists him in accomplishing one half of the object. Can Finland compensate for a state of things which shall put it in the power of France to lock up the Baltic …?

完整解出的句子(the ru-in of Gu-sta-va-us is at last resolve-d、the Dan-ish Minister was this morning po-ur-ing out his com-plain-t-s to me upon this sub-ject、a-ve-rt the in-t-ro-duct-ion into Denmark、as-sist-s him in ac-com-pli-sh-ing one half of the object)证实了代码表,并确定了附言中用到的 ru、ish、Russia(305,第0200帧的铅笔也给出这个值)等值。其中有一个码组反常:946 在1806年5月4日的信中是 on,但在 Gustavus 里必定是 Gu(别处 914 = gu):要么是同音符,要么是手稿或转录中的笔误。

04 附言的解读

码组值来源码组值来源
1394Ru推断;ru-in, Et-ru-ria, Y-ru-jo1013di1806年5月4日
1116s铅笔;1806年5月4日750da铅笔(Mol-da-vi-a)
1273el推断(1272 eight < el < 1279 Emp)967te铅笔
250ought推断(249 other < ought < 252 own)1459he铅笔;1806年5月4日
1165to铅笔;1806年5月4日1482is铅笔;1806年5月4日
1405be铅笔(四帧)1202above位置 1201 a < above < 1209 Agent
972the铅笔;1806年5月4日1561men铅笔(thirty thousand men)
148consul位置 146 confide < consul < 151 contrary927him1806年5月4日
1459 1482he is1090in铅笔;1806年5月4日
1201a铅笔;1806年5月4日1052fit位置 1050 fi < fit < 1062 fol
821n铅笔;1806年5月4日832ness铅笔
130America位置 128 yesterday | America < 137 between(新的一段)1482is
821n934O铅笔(ag-o);1806年5月4日(vi-o-late)
1429by铅笔;1806年5月4日510mea铅笔(mea-sures)
720bir推断(719 Ba < bir < 723 bo)860ly铅笔;1806年5月4日
970th铅笔(stre-en-th)1459 1482he is
1482is1320like推断(1319 li < like < 1325 long)
992qua推断(< 993 qui)384Ward推断(383 w < ward < 385 was)
1319li1806年5月4日(catho-li-c)1280en铅笔;1806年5月4日(se-en)
1048fi(ed)推断(1046 fi … 1052 fit)1216an铅笔;1806年5月4日——手稿作 1216,Founders 作 1218
584than铅笔(第0194帧)1481ir铅笔;1806年5月4日
687any铅笔1483ish推断(1482 is < ish < 1484 it);Dan-ish
249other铅笔;1806年5月4日555[man]手稿 555 = re;视为 1555 man 的笔误(见§6)
736can铅笔(can deceive)

绿色 = 第13卷上的铅笔解码 · 蓝色 = 1806年5月4日的已知明文 · 琥珀色 = 读法不确定或按位置推断 · 红色 = 这里根据上下文和字母顺序位置推断

P.S. Ru-s-el ought to be the consul: he is a-n America-n by bir-th, and is much better qua-li-fi(ed) than any other can-di-da-te. In a word he is above men in general. Next to him in fit-ness is O-mea-ly, but he is like Ward-en an Ir-ish-[man].

4.1 人物

05 方法

  1. 收集密文。汇集了 Founders Online 上 Armstrong 各封代码信件的转录(1806年5月4日、1808年2月22日、1807年9月、1808年8月30日),并调取了8月30日那封信的 LOC 手稿图像用于校勘。
  2. 定位已解码的急件。下载了 NARA 目录中 M34 roll 13 的条目(393帧)。浏览这卷胶片时,用一个简单的图像得分(不与深色墨迹相邻的中灰像素所占比例)作为初筛辅助;带注释的第0190帧和第0192–0201帧经目视确认。2026年9月16日对全部393帧重新运行时,这个得分单靠自身并不能定位它们:灰色的空白页得分高于带注释的页面,只有在把得分限制在墨迹附近的行间区域后,10月那份急件最密集的第一页才排名靠前(392帧中第三)。见 targets/armstrong/NOTES.md。
  3. 采集。每个带注释的帧被裁成三部分,增强对比度,逐组转录;每一对都记录了帧号/行号和置信度等级(H/M)。在多帧中出现的码组做了交叉核对。
  4. 合并与排序。一个脚本合并1806年5月4日的值、采集到的配对和推断值,按 H > C > M > 推断的顺序给读法排序,并在呈现任何代码段落时标出未知值和存疑值。
  5. 推断与验证。其余的缺口根据上下文填补,并对照字母顺序位置核查;1808年2月22日的信作为独立对照。
  6. 校勘手稿。把 LOC 的附言图像放大,逐组对照 Founders 的文本核查。

06 对刊印转录的更正,以及一处遗留的疑问

供各目录参考。Armstrong 致 Madison 的附言,1808年8月30日(Tomokiyo,Unsolved Historical Ciphers,“Armstrong to Madison”第1项)已在上文完整解码;49个码组中有48个已确定,第49个很可能是 man 的笔误。下面这份580个码组的代码表,供解读 DUSMF rolls 13–14 和 Madison Papers 中 Armstrong 1804–1810年的其他代码急件之用,其中大多数没有解码。

07 试用密钥

粘贴以空格或点分隔的码组;明写的词可以保留在原处。每个码组上方会显示其值,就像国务院书记用铅笔写的那样。颜色:绿色为铅笔解码或已知明文,琥珀色为不确定,红色为推断; ? = 未知码组。

重建的代码表(580个码组)

等级:H 为铅笔解码(roll 13),C 为1806年5月4日的已知明文,M 为不确定的铅笔读法或按位置推断,I 为这里推断。附帧号的源数据: targets/armstrong/pairs.txt 在代码仓库中。

08 资料来源

所用代码(Python:帧打分、代码表合并和渲染器)以及采集到的配对列表都在代码仓库中。