A Cipher with Superscripts for Word Elements ("Hieronimo Ranzo") Solved by AI

A cipher with superscripts with word elements are now solved by Paolo Rosson. (A few hours after his email, I received a report of solution from George Lasry, but the present article is based on Rosson's.) This is what I listed as "Venetian? Cipher with Superscript Digits (1528)" is better known for some by the signature "Hieronimo Ranzo". As it turned out, the writer is a Genoese, different from "Hieronimo Ranzo" known in history whom I mentioned in another article.

Letters

The letters are:

BnF fr.2988 (Gallica) f.2, f.9-10 both signed "Hieronimo Ranzo" (BnF fr.3019, f.73 is a copy of the first one, BnF fr.20506, f.136 is a copy of the second one)

BnF fr.3019 (Gallica) f.73-74 signed "Hieronimo Ranzo"

BnF fr.3022 (Gallica) f.44 with a name "Garbino" in the endorsement, dated Madrid, 11 April 1528; f.50 (addenda to key) (BnF Clari.327 (Gallica) f.279-280 is a copy of the letter (no endorsement) and BnF Clair. 314 (Gallica) f.337 is a copy of the addenda).


Cipher

The previous assumption of the basic structure was confirmed: a symbol consisting of a base letter and a superscript figure represents a word beginning with the letter, and words are assigned to figures in alphabetical order. However, symbols with a superscript digit 0-5 are nulls and those with a superscript 6-9 turned out to constitute a substitution cipher, with the letters indicating the value and the digits making no difference.


(Rosson already observed six pairs are part of a reversed alphabet. AI found this without being given a rule.)

Exceptions to the base letter indicating the initial letter are "y with a figure", representing ET, and "Q with a figure", representing CON.

Rosson's key is here.

Specimens

BnF fr.2988, f.2v
d37(de) m10(ma) t7(d) f9(r) t8(d) z9(a) v152(vinti) s230(sette) d34(de) m82(marzo) m176(mille) f5(-) a3(-) c193(cinquecento) v152(vinti) o66(octo) p3(-) a5(-)
de Madr[i]d a vinti sette de marzo mille cinquecento vinti octo

BnF fr.2988, f.10v
m10(ma) t7(d) n9(i) t9(d) z6(a) d180(di) d37(de) m82(marzo) f4(-) m176(mille) i4(-) c193(cinquecento) o5(-) p3(-) v152(vinti) f5(-) o66(octo) m66(?) o4(4)
Mad[r]id a di de marzo mille cinquecento vinti octo

Hindsight

If given an advantage of hindsight, could humans solve this? If the above parts could be identified as a date (which is not easy for the first letter because it is followed by another paragraph), there might have been some chance that a human observation could have identified m176 c193 v152 o66 as "mille cinquecento vinti octo" and f5, a3, i4, o5, p3 are nulls. Identifying nulls may be make things a bit easier. Still, when elements represent words rather than letters or syllables, a first finding may not lead to solution so easily.

Codebreaking Method with AI

Rosson's github explains the codebreaking process with some specific details.

An AI solver somehow prepared a first decode assuming alphabetical assignment of words to codes. (An experiment with a test ciphertext created from a known made-up code of the same construction showed that the solver can reveal about half of the tokens right. This is already amazing. It may not be easy for humans to come up with an interim solution of 50% accuracy.)

A reader (again, AI) worked on the first decode like a human codebreaker. It scanned the decode to find some sequence that falls just short of making sense and made a suggestion to replace a reading of some symbol, making sure it was at a right place in the alphabetical order, and accepted or dropped the suggestion by checking whether the suggested reading fit the other occurrences of the symbol. (An experiment with made-up codes showed that about 90% could be correctly recovered in this way.)

By merging the results of two independent readers, about 50% of the text could be read in connected stretches.

After some corrections are made by proofreading the transcription against the original images, the corrected text was read one last time by a reader.

Paolo Rosson, who is Italian, read the connected stretches and proposed or confirmed words for seven open places (unica, testimonio, rechiesto, tanto, niuno, capitare, sperato).

Verification

Unlike ciphers mainly consisting of letters or syllables, verification of identification of words is difficult because individual words do not occur so frequently as letters/syllables and connection with adjacent words is relatively free. So Rosson's key table of 779 values, 595 are conservatively marked "probable", while only 117 are marked as "sure".

Still, control experiments by using a known made-up code showed the method works and audit reading with 80 values of the table hidden successfully restored 72 of the 80.

Although 67 out of 779 values in the key are guesses, I believe the solution is generally correct.

Writer "Hieronimo Ranzo" and Recipient "Garbino"

Rosson further identified that the letters in BnF fr.2988 and BnF fr.3019 signed "Hieronimo Ranz" were written by Martino Centurione (Dizionario Biografico degli Italiani - Volume 23 (1979)) in Spain to his son, Girolamo in Genoa.

First, the deciphered text closes with a salutation from a father to a son: "Vale. Tuo padre ti saluta." There are other references to a son.

The addition to this very cipher is mentioned in a postscript (p.9) to a letter from Martino Centurione to Girolamo, Burgos, 17 January 1528 (Molino (1837), Documenti di storia Italiana copiati su gli originali autentici e per 10 piu autografi esistenti in Parigi. Con note, vl.2 (Google) p.3). The additions mentioned exactly match those in BnF fr.3022, f.50.

Poi che vedo havere tu receputo el zifra mandato par via de Roma, del quale hay usato, ti scrivo con esso et a la lettera r agiongeraili recevut. r336 et recev. r337 et ala lettera G Garbino g215.
(Since I see that you have received the cipher sent via Rome, which you have used, I am writing to you with it; and to the letter r you will add recevut as r336 and recev as r337, and to the letter G, Garbino as g215.)

This postscript (p.9) also shows Garbino was Girolamo's pseudonym ("l'altra scripta in zifra in nome del Garbino de Luca" (the other message in cipher in the name of Garbino of Lucca)).

Regarding the signature "Hieronimo Ranzo", the deciphered second letter from BnF fr.2988 shows that "Hieronimo Ranzo" was a pseudonym of the writer, Martino Centurione. Rosson's decipherment (with his translation) says:

... et adriz and o le qua a hieronimo ra n zo con littera contra fatta che non se per toa non fact o de ta le littere alcuna men cione in le altre toe littere perche in ogni evento pot essi nega re di sap e r ne cos ...
(... and addressing them here to Hieronimo Ranzo, in a disguised hand, so that they do not seem yours; and make no mention of such letters in your other letters, so that in any case you can deny that you know anything of it ...)

Regarding the letter of BnF fr.3022 (the name "garbino" is seen in the endorsement on p.47v but a few words before it seem to be occluded) is found to be addressed to someone other than the son in view of the use of "voi" rather than "tu" as well as the reference to "Hieronimo" in the third person. The writer tells the recipient that "Hieronimo" sent him "a copy of our cipher."

per mezo del detto hieronimo have re te intes o ogni cos a el qual anche mi adviso have r vi man dato copia del zifra nostro del qual vi pot re te vale re
(by means of the said Hieronimo you will have heard everything; who, as I am also told, has sent you a copy of our cipher, of which you can make use)


©2026 S.Tomokiyo
First posted on 6 October 2026. This article is encoded in UTF-8. Last modified on 6 October 2026.
Articles on Historical Cryptography
inserted by FC2 system