29/09/2025
Solution of William Perwich's Transposition Cipher (1/2)
If the grid thus obtained by removing nulls beyond the 21st position on each row is correct, the remaining problem is likely to be an ordinary columnar transposition cipher.
When George Lasry applied his solver next day, he immediately came up with a promising preliminary result. While there were still some odd columns (in the deciphered text), Norbert proposed removing the first column and rearranging the remaining odd columns. George found supplying two missing letters in the ciphertext further improves the deciphered text. At this time, about 90-95% was solved. (Occasional transcription errors had to be corrected.) I also joined the discussion and we further discussed code numbers. Now we are fine tuning the final text. (The deciphered text reads: "the souldiers grumble much....")
While we were fine tuning, an email came in reporting an independent solution.
21/09/2025
A Wish to End Hunger from Wartime Experience in a Crypto Unit of the Author of Anpanman
I found this by googling because I recently learned in a TV serial inspired by the lives of Yanase and his wife that what seems to be a childish episode (like giving out anpan, a sweet bun filled with red bean paste) is actually rooted in his deep desire to end hunger in the world.
Yanase's crypto unit did not go through intense combat during the war but suffered greatly by starvation. Yanase once said he wanted to convey the message that "you can end hunger by sharing and you can live together even with people you don't like".
The reversal of values following Japan's defeat in 1945 had a profound impact on Yanase. He said, "The one value that never gets reversed is devotion and love.... If someone is dying of hunger before your eyes, you give them a piece of bread. That is the starting point of Anpanman."
20/09/2025
Correspondence between Emperor Ferdinand III and Governor of the Spanish Netherlands (1634, 1635, 1640)
19/09/2025
An Undeciphered Transposition Cipher of William Perwich, an English Agent in Paris (1670)
An undeciphered ciphertext in a letter from William Perwich to Lord Arlington, Paris, 9 April 1670 NS (TNA SP78/129, f.180) is presented in a blog post of The National Archives (TNA). (I thank Norbert Biermann for drawing my attention to this last month.)
It appears to be a transposition cipher, given the letter frequencies as well as the occurrence of abbreviations such as ye(=the) or yt(=that).
My transcription of the ciphertext is here, which is slightly different from the version given on the TNA blog. I grouped some letters (e.g., "QR" on the first line and the second last line) but I'm not so sure of this. Actually, without such grouping, there are exactly 500 elements (excluding the last "likelyhood"), which is plausible in a transposition cipher, suggesting a transposition matrix of 25x20, 20x25, 10x50, etc.
Assuming columnar transposition (a Dutch example from 1675), I (manually) tried various matrix sizes (not limited to the factors of 500) and looked for matrix dimensions that might allow transposition of columns (or rows) to align Qs and Us, but it was not successful. (I assumed transcription of Q and U was correct.)
The TNA blog points out a possibility that this employs Samnuel Morland's scheme (see my article quoted therein) used by some English diplomats at the time. Indeed, Sir William Temple wrote in 1669 "Mr. Perwick wrote from France for a Tryal between us" about "Sir Samuel Mroland's Cypher".
Actually, the transposition scheme proposed by Samuel Morland is not limited to rectangular matrices, but can employ a triangle, a pentagon, a hexagon, or even more irregular patterns. But considering that "ruled papers" were supplied, I think use of non-rectangular matrices is not likely.
We may consider various patterns for inserting nulls by studying known examples.
The letter is calendared on p.82 of M. Beryl Curran (ed.) (1903), The Despatches of William Perwich, English Agent in Paris, 1669-1677 (Wikimedia Commons), which silently omits the paragraph in cipher. (The first paragraph of the letter belongs to another letter in the calendar from the same date addressed to Sir Joseph Williamson, with some difference in wording. Probably, the calendar omits such repetition to different recipients.)
18/09/2025
Variable-length Numerical Code in Austrian Archives
17/09/2025
A French TV Documentary on the Codebreaking of Mary Stuart's Letters Premiered in Paris
The program is scheduled to air on ARTE in France on 27 September (program guide). Ahead of the broadcast, the world premiere took place on 16 September at the BnF -- the French National Library where Mary's coded letters had been preserved for centuries without being recognized as such).
The trailer is available on YouTube.
10/09/2025
Cipher of Imperial Ambassador Juan Perez (1527)
The cipher used in a letter from Juan Perez to Emperor Charles V turned out to be the same as the one used by his predecessor, Juan Manuel, of which I uploaded my reconstruction yesterday. Although I listed the letter in "Unsolved Historical Ciphers", it seems to be calendared in CSP Spain. (I will update relevant articles when my PC comes back from repair.)
09/09/2025
Correspondence of Imperial Ambassador Juan Manuel (1522)
Although the 28 letters from Juan Manuel to the Emperor are labelled "Non-decrypted" in DECODE, I noticed the first page of decipherment is visible in all but two of these records. Decryption may be found in the archives for the remaining two (R9501 and R9515, of which at least the former is calendared in CSP).
06/09/2025
Correspondence of Imperial Ambassador Alonzo Sanchez (1522)
This will allow reading many undeciphered letters, including the two in the DECODE database that I reported in May in "Unsolved Historical Ciphers". (For some of the letters marked "Non-decrypted" in DECODE, plaintext is avaiable. So it is advised to check before working.) For example, the beginning of one of the two I reported in May, R9509 (which is recorded more fully in R9596) can be read as:
- - - - - A [xix] de es-t-e escrevi a vuestra magestad a-z-i-en-do-l-e s-a-b-e-r lo que lo-s de esta r-e-publica me r-e-s-p-o-n-di-e-r-o-n a c-a-b-o z-e [s/t...?].
30/08/2025
Can a Vigenere Cipher be Broken without Key Repetition?
I uploaded a new article about this: "Solving Running Key Ciphers (Manually/Digitally)".
28/08/2025
A Florentine Polyalphabetic Cipher from the 1480s
This induced me to collect specimens of polyalphabetic ciphers known to me as a new article, "Polyalphabetic Ciphers before 1600".
18/08/2025
Japanese Cipher Disks during the Meiji Period
While some of these have already been mentioned in some of my articles, I sorted those with new materials I came across recently, including (1) telegrams in relation to the assassination attempt on the Tsarevich (1891) (Wikipedia) and (2) photos of actual cipher disks used in post offices.
Related website: "Cipher Wheel of The Meiji Era's Cryptographic Wheel" (Modern Japan in archives) (2006-2010)
17/08/2025
Real Messages Encrypted by Japanese RED Machine
The messages are:
(1) Ambassador in Berlin ("Mushakoji" [Wikipedia]) to Foreign Minister in Tokyo (Arita [Wikipedia]), 4 January 1937 (ciphertext, raw decryption, English translation).
(2) From Tokyo to ambassador in Berlin, 8 January 1937 (ciphertext, raw decryption) with decryption in romaji and English translation (somehow dated "9 January 1937").
Bouchaudy learned of this document from George Lasry in June 2025, who quickly found the key to the two messages. Then, Bouchaudy succeeded in reproducing the decryption by the RED simulator he developed.
He reports the results on his website, in which I contributed in parsing the raw decryption of the first message into words in Japanese.
For people interested in ciphertext encrypted by RED, Bouchaudy "created" 9 problems in the form of historical correspondence among US codebreakers. He tells us they (not authentic RED messages) are based on the wiring of the examples given in Alan G. Konheim (2007), Computer Security and Cryptography (which deals with RED and PURPLE in Chapter 7).
Deavours and Kruth (1985), Machine Cryptography and Modern Cryptanalysis has a paragraph in RED (p.213), but Bouchaudy tells us it is different from RED because it "has no Period".
11/08/2025
"Cipher Disk" before Alberti
I uploaded a short article about this: "Giovanni Fontana's "Cipher Disk" (ca. 1430) in an Encrypted Booklet". (This was delayed several weeks because of troubles of my PC....)
14/07/2025
An Original French Naval Code (1778)
It was for D'Agoût, governor of Saint Domingue (1777-1780). It is a two-part code consisting of a table for encoding in alphabetical order and a separate table for decoding in numerical order. The substitution table assigns three figures for the vowels and one figure to the other letters and the ampersand.
The nomenclature includes entries for syllables and common words. As was typical with French ciphers, some variants are covered by one entry: "action, s" (for "action", "actions"), "it, e" (for "it", "ite"), "puis, que" (for "puis", "puisque").
It should be noted that the codes are made on printed templates. The template for encoding has syllables and words printed in alphabetical order, with a section "NOMS de Lieux" in which place names are not printed and are filled when preparing a code for a specific application. The decoding table has printed numbers 1-850.
Pierrot et al. (2025) reports their reconstruction of a similar code used in 1782 between Guillaume de Bellecombe, governor of Saint Domingue a few years after D'Agoût (1782-1883), and the Secretary of State for the Navy. The number ranges up to 857. There might have been a necessity for additional entries 851-857 beyond the template range 1-850.
Contemporary French diplomatic codes I know had 1200 entries (Barbé-Marbois (1782), Luzerne (1781), Napoleonic age), larger than these naval codes. On the other hand, the code used in one undecoded message between Admiral D'Estaing and Gerard, French minister in Philadelphia, (1779) ("Unsolved Historical Ciphers") has a highest number 597.
13/07/2025
Tuple Ciphers (Enciphering a letter with two letters)
06/07/2025
Dutch Codebreaking Activities during WWI
04/07/2025
Verification of Decryption of Beale Cipher No.2
I uploaded a new article ("Errors in Beale Cipher No.2") about this.
(It's a pure coincidence that it's the Independence Day today.)


