Brifing

AI Solves 370-Year-Old Royalist Cipher in Historic Breakthrough

Claude Fable 5.1 deciphers cryptic messages from 17th-century political texts

Hacker News3 min

1The Unsolved Puzzle

The Cyphral Distich, a 64-number cryptogram appended to Sir Thomas Urquhart's 1653 book Logopandecteision, had baffled scholars for centuries. Comprising two lines of 32 numbers each, this cipher appeared in cryptography literature as a top unsolved case. Previous attempts using frequency analysis and substitution ciphers failed, lacking Urquhart's crucial contextual clues about the number 32's significance in his text.

2AI's Novel Approach

Claude Fable 5.1 analyzed the cipher's proximity to Urquhart's 32 Proquiritations - poetic wishes ending phrases like 'is the desire.' The AI recognized that each number corresponded to a word position in these passages, extracting first letters to form coherent text. This internal-context method diverged from traditional cipher-breaking that sought external keys, demonstrating AI's capacity for lateral thinking in historical analysis.

3Royalist Revelation

The decrypted message revealed a rhyming couplet supporting Charles II: 'O GOD UPHOLD KING CHARLS THE SECOND AND MAKE HIM THE SUPREME RULER OF THIS LAND.' This aligned perfectly with Urquhart's Royalist politics during England's Interregnum. The solution's internal consistency - 32 letters per line ending with rhyming words - provided strong validation of the methodology.

4Technical Breakthrough

The AI achieved this in 44 minutes using 176k computational tokens, testing multiple approaches before identifying the pattern. It recognized Urquhart's tendency to use the first available word starting with needed letters (231 of 275 readable positions were first-occurrence hits). This efficiency showcases how AI can process historical linguistic patterns beyond human researchers' typical scope.

5Second Cipher Solved

Applying the same methodology, Fable 5.1 deciphered Urquhart's larger Cyphral Octastich from The Jewel (1652) - a 285-number cipher. The solution revealed an eight-line royalist prayer in ottava rima form, with numbers corresponding to words on sequentially numbered pages. Despite nine unreadable letters due to possible transcription errors, 92% of the text was recovered convincingly.

6Historical Context

Urquhart created these ciphers during England's Civil War when Royalists covertly expressed allegiance. The decrypted prayers for Charles II's restoration (written March 1652) carried treasonous implications under Cromwell's rule. This explains Urquhart's elaborate encoding - political survival depended on messages being discoverable only by sympathetic readers with the textual key.

7Verification Process

Researchers cross-referenced solutions with period dictionaries like the Dictionary of the Scots Language (swey meaning 'sway'). The team created verification tools including page parsers and position mappers, though physical confirmation requires examining rare 1652 editions. The consistent use of first-letter patterns across both ciphers establishes Urquhart's systematic encryption style.

8AI's Cryptanalytic Future

This breakthrough demonstrates AI's potential to solve historical ciphers by combining linguistic pattern recognition with contextual analysis. The success suggests AI could decipher other 'unsolvable' historical codes by identifying authors' idiosyncratic systems. As the methodology gets refined, we may see reinterpretations of contested historical texts through this cryptanalytic lens.

Original article: Hacker News — AI Solves 370-Year-Old Royalist Cipher in Historic Breakthrough