01 文献
TNA Discovery 把这两份文件著录到了张一级:SP 84/157/96, f. 217, “Charles I to Boswell — in cipher”和SP 84/157/97, f. 219, “Nicholas to Boswell — in cipher”,日期都是1643年11月2日。网上没有图像。Tomokiyo 的转录(博客,2021年9月17日)在他不确定之处标了星号,是唯一的文本;Pitt 的输入与之逐行相同。Sir William Boswell 是国王驻海牙的公使;Sir Edward Nicholas 是在牛津的国务大臣。
两封信合计:455个数字码组,171个不同取值,69个只出现一次。按用途,各区段区分得很清楚:
| 区段 | 出现次数 | 不同取值 | 只出现一次 | 性质 |
|---|---|---|---|---|
| 0–19 | 45 | 17 | 4 | 虚码(任何读法都用不到它们) |
| 20–115 | 276 | 80 | 17 | 字母表:24个字母 × 4个同音符(预计96个,见到80个;q z未使用) |
| 116–159 | 61 | 31 | 14 | a d e i m n o r s t u y的补充同音符,按字母顺序分块 |
| 160–399 | 25 | 22 | 19 | 词代码,另有虚码块 361–386 |
| 400–999 | 48 | 21 | 15 | 词代码(续):800 to ×14,588 of ×7,873 you ×6 |
02 密钥(Pitt 的字母表)
plain a b c d e f g h i k l m n o p q r s t u w x y z 1st 20 32 21 33 22 34 23 35 24 36 25 37 26 38 27 39 28 40 29 41 30 42 31 43 2nd 44 56 45 57 46 58 47 59 48 60 49 61 50 62 51 63 52 64 53 65 54 66 55 67 3rd 68 80 69 81 70 82 71 83 72 84 73 85 74 86 75 87 76 88 77 89 78 90 79 91 4th 92 104 93 105 94 106 95 107 96 108 97 109 98 110 99 111 100 112 101 113 102 114 103 115
即 letter = row[(n − 20) mod 24] 字母行为a c e g i l n p r t w y b d f h k m o q s u x z——先是24字母字母表(无j,无v)的奇数位,然后是偶数位。每个字母的四个取值相隔24。它与 Tomokiyo 描述的 Scudamore(1636年)、Cave(1638年)和 Ormonde–Clanricarde(1643年)的常规斯图亚特密钥属于同一类型,也与Maltravers–Ormonde密钥同类。补充区块116–159是五段按字母顺序排列的序列(a d e · m n o r s t y,a d e · n o · t u,……),所以即使是没见到的取值也受到约束;142 = s 是这里根据 Nicholas 信的开头“[His Majesty] comands”补上的。
03 验证
由四个或更多字母表码组构成的21段极大连续串(共106个字母),用一个以270万字符的17至19世纪英语构建的四元语法模型打分。零假设是在同一周期结构上对24个字母的身份做置换。
| 得分 | |
|---|---|
| Pitt 的字母行 | −217.5 |
| 20,000个随机字母行:均值 / 标准差 / 最佳 | −333.7 / 12.1 / −271.1 |
| z 值;得分至少一样好的字母行 | 9.6;20,000个中0个 |
自由周期扫描(对周期20–32的24字母行做模拟退火)并不具有决定性,这里如实记录:在106个字母上,退火会过拟合,周期27–32的得分反而高于真密钥。支持周期24的论据是结构性的(奇偶位构造、相隔24的同音符、按字母顺序的补充区块),而与明写部分吻合的解密结果(“A C · · knowledge”,“[835] D E R stand”,以及与 Simpson 的“Our Re-credentials”对应的“Y O U R E [C] R E D E N T I A L S”)就是证实。
04 四个符号
Tomokiyo 转录了四个图形符号:△、中、□ 和 +。每个都在一个逐字母拼写的词内部出现一次,之后则单独出现,而单独出现时的组合方式,恰好与嵌入时所预示的一致。
| 符号 | 嵌入出现 | 单独出现 | 取值 |
|---|---|---|---|
| △ | 47 86 △ 110 33 = GO△OD | “back to OUR △ 中 873 □” | good |
| 中 | 93 122 中 41 112 = CO中US-in | “Our 中 873 □ S affeccons”,“our said 中 873 □”,“our △ 中 873 □” | Cousin |
| □ | 61 116 88 □ 77 70 28 = MAS□TER | 同样的三处 | Master |
| + | 158 + 150 = U+S(“inuiting us”) | “acceptable to +”,“preiudiced +”,“to + to the port of”,“addres by 213 to +” | us |
所以 △ 中 873 □ 就是“good Cousin your Master”。抄写员在逐字母拼出某个词的地方把符号写在旁边(比较 Ormonde 信中的“for whom 270 thus hereafter”,那里一个代码就是在行文中引入的),而转录把符号放到了词的中间。这正是 Pitt 的笔记说还缺少的解释;有了它,873 = you / your 在全部六处都说得通。
05 解密
方括号内为代码,花括号内为建议的转录修正,拼写按密文所给。
查理一世致库尔兰公爵的使节,牛津,1643年11月2日(f. 217):
Sir, Wee have received your ciuill {&} welcom letter of the {6th} of 8ber 1643. But never heard of any [514] letter of Our good Cousin the Duke of Curland’s, your Master, saue those inuiting us to send to the Funerals of the Late [303] Dukes his Father & Unkle [376] deceased of happy memory; to [which] we made an answer, but know not whether the same arriued [289] safe. The Difficulty of passage {we} feare {hath} preiudiced us. Our Cousin your Master’s affeccons & offers are soe reall & acceptable to us, specially in this coniuncture of our Affaires, as we acknowledge [our] [selves] there[by] highly obliged. We [pray] you therefore to present our princely thanks [177] on this behalf, to [assure] our said Cousin your Master, & to lett him understand that we shall most [wel]comly receiue his [assistance] with in [755] [188] [musket]s, match & [powder], in {what} [pro]por[tion] it shall please him to transmit the same to us, to the [port] of Weymouth, Dartmouth, Exeter, Falmouth or [228]. Not doubting but God will shortly enable Us to recompence soe free & soe [gener]ous a c[591] & es[126]. Doe assure your self also of our fauour particular, & doe take your addres by [213] to us in very good part, as also that you haue taken care to avoyde the dangerousnes of the passage hither. And soe wishing you a safe returne back to our good Cousin your Master, to whom w[e] herewith [send] your re-credentials, Wee commit you to the Protection of the Almighty. Given at our court at Oxford the second day of Nouember in the Nineteenth yeare of Our Reigne 1643.
Nicholas 致 Boswell,1643年11月2日(f. 219):
Sir, [His Majesty] comands [me] to signify his pleasure to you, that you use all possible diligence & industry by your meanes of the [170] & otherwise [secret]ly to hinder the coming ouer of the [181]s from the [726], for it is here apprehended that they [will] doe more hurt then good, for that they [are] understood here not to affect Monarchy. His Majesty’s two letters herewith sent with flying Seales are put into your character, because most safe & ready; you are to decifer & interpret them. Monsieur F I R X S S appeares not here. …
有取值的词代码:800 to,588 of,873 you/your,291 Duke(来自 Simpson 刊印的致公爵信中的密文行
291 588 C U R L A N D ),516 letter,835 un-,749 selves,750 send,205 assure,223 by,629 pray,640 port,636 pro-,406 gener-,484 His Majesty,746 secret-。排序后,可读的代码按字母顺序排列(a 170–228 … d 291 … o 588–591 … s 726–755,t 800,u 835,y 873),所以这份名码本大概是一张按字母顺序排列的表;再有一封用这个密钥写的信就能检验这一点。
06 这两封信是什么
- 国王的信是写给使节的。它答复的是使节10月6日的来信,三次称公爵为“your Master”(您的主上),送出“your re-credentials”(您的回任国书),并祝他平安回到主上身边。Simpson 的Civil War Papers(Scottish History Society Miscellany I,1893年)刊印了国王同日致库尔兰公爵 James 的信,信中自称“these Our Re-credentials”(此即朕之回任国书),还刊印了使节后来的备忘录:海路不安全,“the ministers of their Majesties at the Hague”(两位陛下驻海牙的大臣)劝他不要渡海,并收下了他的信件。Nicholas 告诉 Boswell,国王的两封信已“put into your character”(用您的密码写成),Boswell 要“decifer & interpret them”(将其解密并译出)。目录中“Charles I to Boswell”(查理一世致 Boswell)的著录即由此而来。
- “Monsieur F I R X S S appeares not here.”(F I R X S S 先生没有在这里露面。)Simpson 提到公爵的代理人是 Georg von Firks 少校。牛津方面在等一个人,而他没有来——这正是使节本人对自己情况的陈述。
- 军火。火枪、火绳和火药运往韦茅斯、达特茅斯、埃克塞特、法尔茅斯或第五个港口:公爵的备忘录说,他得知两位陛下需要的是军需品而不是人员;而 Nicholas 在1643年12月写信给 Roe 说,“arms and powder are arrived at Dartmouth for his Majesty”(运给陛下的武器和火药已抵达达特茅斯)(CSPD)。
- 葬礼指 Friedrich 公爵(卒于1642年)和他的兄弟 Wilhelm(卒于1640年)的葬礼,于1643年2月合办:“the Late Dukes his Father & Unkle”(先公爵,即他的父亲和叔父)。
- Nicholas 的指示是阻止“the coming ouer of the [181]s from the [726]”([726]的[181]们渡海前来),这些人“understood here not to affect Monarchy”(据此间了解并不倾心君主制)。这与尼德兰联省议会于1643年底决定派出、1644年初在牛津受到接待的调停使团相符,而国王并不想要这个使团:181+S = Ambassadors(大使们),726 = States(联省议会)。这两个取值依据的是史实;仅凭密码本身无法确定它们。
07 方法、致谢与文件
- Pitt 的仓库
robertpitt/charles-i-boswell-cipher(MIT 许可;commit 609ebf4,2026年9月14日)在本次工作之前就已有字母表、补充同音符、大部分虚码和四个词代码。字母表请引用该仓库。 - 区段统计和解码器(
targets/boswell/key.py);四元语法模型(lm4.py);置换对照(permtest.py);周期扫描(periodscan.py). - Simpson 1893 和 CSPD 1641–43 取自 Internet Archive 的 OCR;TNA 的编号取自 Discovery API。
已核查:Pitt 的输入与博客文本对照;字母表与20,000个置换字母行对照;每一处解密与记号对照;Simpson 刊印的信件和备忘录;TNA 和 CSPD 的编号。未核查:手稿(网上没有图像);Pitt 引用的拉脱维亚档案说明。使节为 Firks 这一身份认定、字母顺序假说以及所提出的转录笔误,都是推断,在转述之前需要核实。
08 资料来源
- S. Tomokiyo,“Charles I–Boswell Cipher (1643)”,2021年9月17日博客文章,以及Unsolved Historical Ciphers(cryptiana)。
- R. Pitt,charles-i-boswell-cipher(GitHub,2026年9月)。
- TNA Discovery,SP 84/157/96–97。
- H. F. Morland Simpson(编),“Civil War Papers”,Miscellany of the Scottish History Society I(1893年),pp. 143–170(Internet Archive
miscellanyofscot01scot). - Calendar of State Papers Domestic 1641–43(1887年),Nicholas 致 Roe,1643年12月。
分析脚本和密文都在仓库中(targets/boswell/).
