中文译本 · 原作 Daniel Bourdeau《Unsolved Historical Ciphers》 以 CC BY 4.0 发布,本页由 JIC 翻译,非原作者官方版本,译文如有出入以英文原页为准 · 查看英文原页 ↗
47 86 △ 110 33 · 93 122 中 41 112 · 61 116 88 □ 77 70 28
800 · 588 · 873 · 291 588 45 135 52 25 20 50 81

牛津 → 海牙 · 带小型代码的同音替换数字密码 · 1643年

查理一世与 Nicholas 致 Boswell

查理一世
寄自查理一世

1643年11月2日 · The National Archives, SP 84/157 ff. 217 和 219(State Papers Foreign, Holland)

字母表是 Robert Pitt 的(2026年9月),这里加以套用。新增的内容:字母表的统计对照、四个图形符号的取值、国王信件的收信人,以及两封信的解密

Daniel Bourdeau · 发布于 · 更新于

方法:用已知密钥读出 · 范围:完整

摘要。同一天的两封密信,S. Tomokiyo 于2021年做了暂定转录,并把它们列入没有已知解读的密码之中。Robert Pitt 于2026年9月14日发表了字母表:一行24个字母在数码20–115上重复四遍,116–159是按字母顺序分块的补充同音符,20以下是虚码,另有四个词代码。字母表是他的;这里加以套用。本页增加了验证和解密。一项置换对照显示,在同一周期结构上,Pitt 的字母行比20,000个随机字母行高出9.6个标准差,没有一个随机行能与之相当。Pitt 的笔记中未能解释的四个图形符号是词符号:抄写员在逐字母拼出某个词的地方把相应符号写在旁边(good、Cousin、Master、us),此后便单独使用该符号,所以那三段带框的文字解密为“our good Cousin your Master”(我们的好堂亲、您的主上)。国王的信是写给库尔兰公爵的使节的,此人当时滞留在海牙:这是国王的答复和回任国书,按 Nicholas 附函所说,经由 Boswell 转交,用的是 Boswell 自己的密码。Simpson 1893年刊印的国王同日致公爵的平行信件证实了这一点,并给出 291 = Duke。完成程度:两封信均已解密,只有十来个只出现一次的词代码除外;这些以及一些转录笔误需要查看原件,而原件不在网上。

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–1945174虚码(任何读法都用不到它们)
20–1152768017字母表:24个字母 × 4个同音符(预计96个,见到80个;q z未使用)
116–159613114a d e i m n o r s t u y的补充同音符,按字母顺序分块
160–399252219词代码,另有虚码块 361–386
400–999482115词代码(续):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 这两封信是什么

07 方法、致谢与文件

  1. Pitt 的仓库 robertpitt/charles-i-boswell-cipher (MIT 许可;commit 609ebf4,2026年9月14日)在本次工作之前就已有字母表、补充同音符、大部分虚码和四个词代码。字母表请引用该仓库。
  2. 区段统计和解码器(targets/boswell/key.py);四元语法模型(lm4.py);置换对照(permtest.py);周期扫描(periodscan.py).
  3. Simpson 1893 和 CSPD 1641–43 取自 Internet Archive 的 OCR;TNA 的编号取自 Discovery API。

已核查:Pitt 的输入与博客文本对照;字母表与20,000个置换字母行对照;每一处解密与记号对照;Simpson 刊印的信件和备忘录;TNA 和 CSPD 的编号。未核查:手稿(网上没有图像);Pitt 引用的拉脱维亚档案说明。使节为 Firks 这一身份认定、字母顺序假说以及所提出的转录笔误,都是推断,在转述之前需要核实。

08 资料来源

分析脚本和密文都在仓库中(targets/boswell/).