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 不愿明写的看法,随后以代码写在附言里。
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日那封信用的不是这套代码,而是另一套独立的系统,其密钥尚未复原。复原出来的结构如下:
- 码组从1编到约1600。每个码组代表一个完整的词(Emperor 32、Spain 326、Minister 61)、一个音节(con 470、tion 352、ness 832)或单个字母(s 1116、n 821、d 1001)。名字按音节拼写:Gu-sta-va-us、Et-ru-ria、Y-ru-jo、Dan-ish、O-mea-ly。
- 词汇不是排成一个字母顺序序列,而是分成许多短的字母顺序段。例如 1–130 是一段词(circumstance, commerce, communicate, character … Minister … these, thousand, toward … week, without, yesterday),130–417 是第二段(America, between, business, confide, contrary, country … Prince, Queen, reason, report, Russia, second, secret … which, whom, word, would, your),417以上的音节则分块排列,每隔几十个数字就从头开始一轮字母表(1201 a … 1230 c;1268 ed … 1298 ex;1302 ide … 1348 broa;1405 be … 1443 good;1500多 fa … man … now)。一段之内按字母顺序排列,所以一个未知码组的值会被它已知的邻居夹在中间。
- 常用成分有同音符:re 是 555、561、562、869、871 和 1379;on 是 945 和 946;an 是 1210 和 1216;ing 是 1478 和 1594。
- Armstrong 在每个码组后面写一个点;在国务院解码急件的书记用铅笔在每个码组上方写出明文,若码组是接续前面已写出的词,就在上方画一短横(Et|–|–,即 Etruria)。
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”的消息),其中每个代码组上方都有书记写的解码。对整卷做了一遍打分,寻找远离墨迹的浅中灰像素,从而定位了带注释的帧;然后逐帧目视转录这些配对,并记录置信度等级及其帧号/行号。
以这种方式收集到约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 附言的解读
| 码组 | 值 | 来源 | 码组 | 值 | 来源 |
|---|---|---|---|---|---|
| 1394 | Ru | 推断;ru-in, Et-ru-ria, Y-ru-jo | 1013 | di | 1806年5月4日 |
| 1116 | s | 铅笔;1806年5月4日 | 750 | da | 铅笔(Mol-da-vi-a) |
| 1273 | el | 推断(1272 eight < el < 1279 Emp) | 967 | te | 铅笔 |
| 250 | ought | 推断(249 other < ought < 252 own) | 1459 | he | 铅笔;1806年5月4日 |
| 1165 | to | 铅笔;1806年5月4日 | 1482 | is | 铅笔;1806年5月4日 |
| 1405 | be | 铅笔(四帧) | 1202 | above | 位置 1201 a < above < 1209 Agent |
| 972 | the | 铅笔;1806年5月4日 | 1561 | men | 铅笔(thirty thousand men) |
| 148 | consul | 位置 146 confide < consul < 151 contrary | 927 | him | 1806年5月4日 |
| 1459 1482 | he is | 1090 | in | 铅笔;1806年5月4日 | |
| 1201 | a | 铅笔;1806年5月4日 | 1052 | fit | 位置 1050 fi < fit < 1062 fol |
| 821 | n | 铅笔;1806年5月4日 | 832 | ness | 铅笔 |
| 130 | America | 位置 128 yesterday | America < 137 between(新的一段) | 1482 | is | |
| 821 | n | 934 | O | 铅笔(ag-o);1806年5月4日(vi-o-late) | |
| 1429 | by | 铅笔;1806年5月4日 | 510 | mea | 铅笔(mea-sures) |
| 720 | bir | 推断(719 Ba < bir < 723 bo) | 860 | ly | 铅笔;1806年5月4日 |
| 970 | th | 铅笔(stre-en-th) | 1459 1482 | he is | |
| 1482 | is | 1320 | like | 推断(1319 li < like < 1325 long) | |
| 992 | qua | 推断(< 993 qui) | 384 | Ward | 推断(383 w < ward < 385 was) |
| 1319 | li | 1806年5月4日(catho-li-c) | 1280 | en | 铅笔;1806年5月4日(se-en) |
| 1048 | fi(ed) | 推断(1046 fi … 1052 fit) | 1216 | an | 铅笔;1806年5月4日——手稿作 1216,Founders 作 1218 |
| 584 | than | 铅笔(第0194帧) | 1481 | ir | 铅笔;1806年5月4日 |
| 687 | any | 铅笔 | 1483 | ish | 推断(1482 is < ish < 1484 it);Dan-ish |
| 249 | other | 铅笔;1806年5月4日 | 555 | [man] | 手稿 555 = re;视为 1555 man 的笔误(见§6) |
| 736 | can | 铅笔(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 人物
- Warden。David Bailie Warden(1772–1845),生于 County Down,联合爱尔兰人会成员,1799年流亡,入籍美国,先任 Armstrong 的私人秘书,后任使馆秘书。他是空缺的巴黎领事一职的头号人选,并且得到了这个职位;Armstrong 在1810年将他撤职,而当 Madison 在1811年恢复他的职务时,Armstrong 在1811年3月3日的信中抗议说,Warden“without a single grain of attachment to the U.S.”,并质问“our own country furnish[es] no native citizen willing & able to fill the consulate at Paris”。这则附言显示,早在三年前就已有同样的敌意,也显示了其原因:Warden 不是在美国出生的。
- O'Mealy。Michael O'Mealy,巴尔的摩商人,自1793年起居住在法国,1810年仍在那里(身份见 Papers of James Madison,Secretary of State Series 10:497 注2)。这个名字显然源自爱尔兰,拼作 O-mea-ly。
- Russel。拼作 Ru-s-el。最可能的人选是罗得岛 Providence 的 Jonathan Russell(1771–1832),一位从事欧洲贸易的商人;1810年 Armstrong 离任时,Madison 确实任命他为驻巴黎代办。这一认定是推断出来的,因为没有其他文献表明他1808年在法国。
05 方法
- 收集密文。汇集了 Founders Online 上 Armstrong 各封代码信件的转录(1806年5月4日、1808年2月22日、1807年9月、1808年8月30日),并调取了8月30日那封信的 LOC 手稿图像用于校勘。
- 定位已解码的急件。下载了 NARA 目录中 M34 roll 13 的条目(393帧)。浏览这卷胶片时,用一个简单的图像得分(不与深色墨迹相邻的中灰像素所占比例)作为初筛辅助;带注释的第0190帧和第0192–0201帧经目视确认。2026年9月16日对全部393帧重新运行时,这个得分单靠自身并不能定位它们:灰色的空白页得分高于带注释的页面,只有在把得分限制在墨迹附近的行间区域后,10月那份急件最密集的第一页才排名靠前(392帧中第三)。见 targets/armstrong/NOTES.md。
- 采集。每个带注释的帧被裁成三部分,增强对比度,逐组转录;每一对都记录了帧号/行号和置信度等级(H/M)。在多帧中出现的码组做了交叉核对。
- 合并与排序。一个脚本合并1806年5月4日的值、采集到的配对和推断值,按 H > C > M > 推断的顺序给读法排序,并在呈现任何代码段落时标出未知值和存疑值。
- 推断与验证。其余的缺口根据上下文填补,并对照字母顺序位置核查;1808年2月22日的信作为独立对照。
- 校勘手稿。把 LOC 的附言图像放大,逐组对照 Founders 的文本核查。
06 对刊印转录的更正,以及一处遗留的疑问
- Founders 在最后一行印作
1218;手稿读作1216(an),这也正是句子所需要的。 - Founders 在最后一行印作
970.印在第二行开头,而手稿作972.(the)。第四行的码组是1319(li),与印本一致。Library of Congress 藏本上有一个铅笔写的 s,位于1116下方,表明华盛顿有位读者曾着手解码,后来又放弃了。 - 最后一个码组在 Founders 和手稿中都是
555。在这套代码中,555 是 re(第0195帧:sco-re),接在 Irish 之后讲不通,而 1555 是 man(第0195、0200帧:the command of Prince Charles,man)。读作 Irishman 的前提是 Armstrong 漏写了一位数字。另一种可能——附言在“an Irish re–”处中断——为完整起见在此注明。 - 在2月22日那封信中,Founders 的
631(wise),出现在“his com-631-t-s”里,几乎可以肯定是651(plain);而916(had),出现在“Denmark cannot 916 very willingly”里,很可能是921(have);两者都是缩微胶卷上的笔迹容易引发的一位数字之误。
07 试用密钥
粘贴以空格或点分隔的码组;明写的词可以保留在原处。每个码组上方会显示其值,就像国务院书记用铅笔写的那样。颜色:绿色为铅笔解码或已知明文,琥珀色为不确定,红色为推断; ? = 未知码组。
重建的代码表(580个码组)
等级:H 为铅笔解码(roll 13),C 为1806年5月4日的已知明文,M 为不确定的铅笔读法或按位置推断,I 为这里推断。附帧号的源数据: targets/armstrong/pairs.txt 在代码仓库中。
08 资料来源
- Library of Congress,James Madison Papers,Series 1,General Correspondence,reel 10:“J. Armstrong to James Madison, August 30, 1808. Postscript in Cipher”,mjm015002;“J. Armstrong to James Madison, May 4, 1806”,mjm014590。
- Founders Online,Early Access 文献 Madison/99-01-02-3466(1808年8月30日)、99-01-02-2733(1808年2月22日)、99-01-02-0393(1806年5月4日);Armstrong 致 Madison,1811年3月3日,03-03-02-0258;John Mitchell 致 Madison,1805年11月4日,02-10-02-0473(注2,O'Mealy)。
- National Archives,RG 59,Despatches from U.S. Ministers to France,M34 roll 13,NAID 188671172,第0192–0201帧。
- S. Tomokiyo,“Unsolved Historical Ciphers”,cryptiana.web.fc2.com,以及“Decoding Revolutionary Correspondence: Armstrong to Madison”,decode20.htm。
- Ralph E. Weber,United States Diplomatic Codes and Ciphers, 1775–1938(芝加哥,1979),pp. 154、188。
- C. Edward Skeen,John Armstrong, Jr., 1758–1843: A Biography(Syracuse,1981)。
所用代码(Python:帧打分、代码表合并和渲染器)以及采集到的配对列表都在代码仓库中。

