中文譯本 · 原作 Daniel Bourdeau《Unsolved Historical Ciphers》 以 CC BY 4.0 釋出,本頁由 JIC 翻譯,非原作者官方版本,譯文如有出入以英文原頁為準 · 檢視英文原頁 ↗
65 · 35 · 21 · 26 · 59
28 · 69 · 49 · 50 · 70 · 44
11 · 79 · 85 · 35 · 12 · 69 · 28 · 29 · 79 · 44

愛爾蘭 / 英格蘭 · 帶名碼本的數字密碼 · 1634–35年

Maltravers 勳爵致 Ormonde 伯爵

Maltravers 勳爵
發信人Maltravers 勳爵
Ormonde 伯爵
收信人Ormonde 伯爵

Dorking,1634年9月13日;白廳,1634/5年1月22日 · HMC,Calendar of the Manuscripts of the Marquess of Ormonde,第 i 卷(1895),pp. 28–29

字母表、虛碼和金鑰佈局由印出的 59 個數碼及其前後的明寫部分復原;隨後又根據 Wentworth 本人的急件認出了七個名碼本程式碼

Daniel Bourdeau · 釋出於 · 更新於

方法:相鄰明文復原金鑰 · 程度:完整

摘要。Maltravers 勳爵 Henry Frederick Howard 寫給 Ormonde 伯爵(後為公爵)James Butler 的兩封信中,含有一種數字密碼的 59 個數碼。歷史手稿委員會(Historical Manuscripts Commission)1895年印出這兩封信時沒有附解讀,S. Tomokiyo 也把它們列入尚無已知解答的密碼;印本中找不到金鑰或解讀。金鑰是從數碼前後的明寫部分復原的。這套密碼好破,原因有四。一是金鑰很規整:子音按字母順序排列,從 7 起每個三個數碼,母音從 64 起,因此一個字母的各同音符是相連的數碼。二是 Wentworth 圈子的其他密碼也用同樣的設計。三是兩封信全文印出,每段加密文字前後的明寫部分都能提供猜詞。四是 Knowler 1739年刊印的 Wentworth 急件用明文記述了同樣的事件。這些數碼分為字母(91 以下)、虛碼(91–111)和一個小型名碼本(112 及以上);letters 和 councellor 中的雙寫字母用相鄰數碼書寫,由此可見分塊佈局。每個拼寫出的詞都能解讀(angry、letters、Crosby、a councellor),名碼本程式碼則可由1634年愛爾蘭議會的史實推定:Kildare 來到英格蘭,“because he was angry [with] the Lord Deputy, [and the King] refused to see him because he brought no letters from the Lord Deputy”;1635年1月,“the Lord Deputy hath written … much in praise of Ormonde … for his good carriage in Parliament, and upon his motion Ormonde is to be a councellor”。Ormonde 正是在那個月宣誓進入愛爾蘭樞密院。Knowler 的文字用同樣的措辭記述了這兩件事:國王“refuseth to admit” Kildare;Ormonde 被提名進入樞密院,作為對 Sir Piers Crosby 的“exchange”,頁邊批註則說宣誓授職的令狀隨信寄回。完成程度:所有拼寫出的詞均已解讀。九個名碼本程式碼中有七個已根據文獻認定;關於 Crosby 的一個分句裡的兩方(185、149)尚未認定。

01 文獻

Maltravers(1608–1652)是 Arundel 伯爵的繼承人,1634年出席愛爾蘭議會,是年輕的 Ormonde 伯爵的朋友和通訊者。他從英格蘭寄出的信報告宮廷訊息;敏感部分(Kildare 伯爵與總督 Wentworth 的爭執,以及別人寫到 Ormonde 本人的內容)用數碼書寫。原件在 Ormonde 文書中(今藏愛爾蘭國家圖書館);網上唯一可見的文字是 HMC 摘要目錄,其中的數碼已對照頁面掃描核對。

HMC Ormonde MSS 第 i 卷 p. 28,含1634年9月13日那封信的密碼數碼
HMC Ormonde MSS,舊編第 i 卷(1895),p. 28:1634年9月13日的信。影象:Historical Manuscripts Commission, Calendar of the Manuscripts of the Marquess of Ormonde, old series i (1895), p. 28,經由 Internet Archive(calmarqormonde01greauoft)。
13 Sept 1634:   ...he came over because he was 65, 35, 21, 26, 59, 98, 113, 186, 108, 143, refused to see him
                because he brought no 28, 69, 49, 50, 70, 44, 89, from 186, 99.
22 Jan 1634/5:  You desire to know what 93, 185, 95, hath written unto 99, 149, concerning 98, 10, 44, 79, 47, 8, 59,
                for whom 270 thus hereafter ... 95, 186, 98 hath written unto 98, 218, 97 much in praise of 100, 174,
                103 in general, and particularly for his good carriage in 111, 95, 221, and upon his motion 93, 31,
                174 99 is to be 64, 99, 11, 79, 85, 35, 12, 69, 28, 29, 79, 44, in which courses 174 shall do well
                to continue.

02 結構

03 金鑰

三個猜詞確定了這張表。“brought no 28 69 49 50 70 44 89”必然是 letters;“is to be 64 [虛碼] 11 79 85 35 12 69 28 29 79 44”得出 a councellor;“concerning 10 44 79 47 8 59, for whom 270 thus hereafter”,即那位在1635年1月處境將要“go worser”的人,是 Crosby(Sir Piers Crosby,那年冬天被 Wentworth 清出愛爾蘭樞密院)。三者都符合同一種排列;對 42 種規整表格(起點 1–11,分塊大小 2–4,母音塊 2–6)作窮舉掃描,按英語四字母組得分,它排在第一:

bcdfghklmnpqrstwxyz
7–910–1213–1516–1819–2122–2425–2728–3031–3334–3637–3940–4243–4546–4849–5152–5455–5758–6061–63
aeiou虛碼程式碼
64–……69, 70……79–…85–…91–111112 及以上(人名、詞語)

子音:24 字母字母表(i = j,u = v)中的十九個。已見數碼:b 8 · c 10 11 12 · g 21 · l 28 29 · m 31 · n 35 · r 44 · s 47 · t 49 50 · y 59 · a 64 65 · e 69 70 · o 79 · u 85。母音塊的大小(從 64 起各五個,或 a = 3、其餘各 6)無法從這份文字確定;1–6 未見使用。

04 解讀

紅色 = 用密碼拼寫 · 藍色 = 名碼本程式碼,其值依據 §05 中的文獻 · 虛碼已刪去

1634年9月13日。My lord of Kildare is long ago in England though I have not seen him; it is said he came over because he was angry [113 = with] [186 = the Lord Deputy]; [143 = the King] refused to see him because he brought no letters from [186 = the Lord Deputy].
1634/5年1月22日。You desire to know what [185] hath written unto [149] concerning Crosby, for whom 270 thus hereafter; of which I can give you no account at all, only by what I hear it is like to go worser with him rather than better. [186 = the Lord Deputy] hath written unto [218 = Secretary Coke] much in praise of [174 = Ormonde] in general, and particularly for his good carriage in [221 = Parliament], and upon his motion [174 = Ormonde] is to be a councellor, in which courses [174 = Ormonde] shall do well to continue.

史實與解讀相符。第十六代 Kildare 伯爵 George FitzGerald 在1634年議會期間因 Kildare 地產問題與 Wentworth 鬧翻,當年夏天渡海去了英格蘭;Sir Piers Crosby 在同一屆議會中反對總督,1635年初被逐出愛爾蘭樞密院;而在下議院辯論中支援 Wentworth 的 Ormonde,於1635年1月——也就是第二封信寫成的那個月——宣誓進入愛爾蘭樞密院。186 作為 the Lord Deputy(總督)出現三次,用法一致;174 作為 Ormonde(“your lordship”)出現三次;221 作為 Parliament(議會)緊跟在“his good carriage in”之後。下一節根據 Wentworth 本人的信確定 143、218 和 113;185 和 149 仍未確定。

05 與 Knowler 的對照

Wentworth 的急件由 William Knowler 於1739年刊印,書名 The Earl of Strafforde’s Letters and Dispatches。第一卷涵蓋1634–35年,兩段密文背後的事件都在其中,用的是 Wentworth 自己的話,頁邊還有 Coke 國務大臣的答覆。

Wentworth 致 Coke,1634年10月(i. 309)。“The Earl of Kildare went away from hence without the privity of this State, and in seeming displeasure against me … within an hour after, he put to sea for England. Indeed I should not have mentioned thus much, but that I hear his Majesty refuseth to admit him to kiss his hand, which I acknowledge as a respect to me.”頁邊批註:“The Earl of Kildare shall be sent back as is advised.”

這正是 Maltravers 9月13日那句話:Kildare angry [113] the Lord Deputy;the King 因他沒帶總督的信而拒絕見他。所以 143 = the King(國王),而 113 是“angry”與總督之間的連線詞(“with”;Wentworth 用的詞是“against”)。

Wentworth 致 Coke,都柏林,1634年12月22日(i. 352–3)。“In the Higher House, there is my Lord of Ormond, that hath as much advantage of the rest in judgment and parts, as he hath in estate and blood; and one, who upon my observation since I came hither, expresseth very good affections to the Crown and Government; so as I hold him a person of consequence, and fit to receive some mark of his Majesty’s favour, and humbly offer it to his Majesty’s wisdom, whether it were not seasonable to make him a Counsellor … so as I should think we had got much the better by the exchange of the Earl of Ormond for Sir Piers Crosby.”頁邊批註:“for the Earl of Ormond, your Lordship shall receive herewith his Majesty’s warrant to swear him Counsellor, according to your advice.”

一個月後,Maltravers 寫道:the Lord Deputy hath written unto [218] much in praise of [Ormonde] in general, and particularly for his good carriage in [Parliament], and upon his motion [Ormonde] is to be a councellor。兩者逐句對應:186 = the Lord Deputy,174 = Ormonde,221 = Parliament(即 Wentworth 說的“Higher House”),218 = Mr Secretary Coke,也就是這份急件的收件人。急件是寫給國王看的,Coke 的頁邊批註就是國王的答覆,所以 218 的另一種可能是“the King”,但國王已經有了 143。270 是 Maltravers 把 Crosby 的名字拼寫一次之後給他指定的程式碼。James Howell 1635年1月1日從威斯敏斯特寫信給 Wentworth,說 Crosby 在英格蘭,而且“in a bravery resolved never to see Ireland while your Lordship governs”:這就是“like to go worser with him”背後的宮廷傳聞。

程式碼取值證據
186總督(Wentworth)三處用法一致;Knowler i. 309, 352–3
174Ormonde 伯爵三處用法;Knowler i. 352–3 及 Coke 的頁邊批註
221議會“good carriage in” ↔ “in the Higher House”
143國王“refused to see him” ↔ “his Majesty refuseth to admit him to kiss his hand”
218Coke 國務大臣(或經由 Coke 轉達的國王)12月22日急件的收件人
270Sir Piers Crosby在文中指定
113with / against“angry”與總督之間的連線詞
185身份不明的一方“what 185 hath written unto 149 concerning Crosby”;不是總督
149身份不明的一方同一分句;不是國王,也不是總督

06 尚不確定之處

07 方法

  1. 使用 Internet Archive 上 HMC 卷冊的 OCR;提取了兩封信,每個數碼都對照頁面影象核對過。
  2. 用正規表示式掃描整卷(以及新編各卷)尋找其他數碼段:僅有的其他密碼(1644年、1650年代)用的是不同金鑰;書中沒有印出金鑰或解讀。
  3. 對 91–111 作位置檢驗(段落邊緣統計)→ 虛碼。相鄰數碼組成的雙寫 → 分塊字母表。
  4. 從明寫部分和1634–35年的事件中取得猜詞;對規整表格作窮舉掃描,按英語四字母組評分;由猜詞推出的表格勝出。
  5. 作為對照,只用 28 個字母數碼執行模擬退火同音替換求解器,得到的文字四字母組得分不錯,卻毫無意義。在這種長度下,答案來自金鑰的結構;統計資訊太弱。
  6. 第二輪工作:在 Knowler《Strafforde’s Letters》第一卷的 OCR 中搜尋 Kildare、Crosby、Ormond、Maltravers 和 Arundel;每處命中都按信件標題、落款日期和頁首定位。摘錄存放在程式碼庫中。

08 試用金鑰

數碼之間用空格或逗號分隔。字母按表格解碼;虛碼顯示為 ·;程式碼顯示為 [n] ,有值的附上其值。

09 來源

分析指令碼和完整密文都在程式碼庫中(targets/ormonde/).