Codebreaking of a Spanish Cipher with Vowel Indicators

I succeeded in solving a cipher in a letter to Emperor Charles V from Suarez de Figueroa, Spanish ambassador in Genoa, dated 24 May 1529 (PARES). At first glance, the ciphertext looks very complex with superscript and subscript numerals and other diacritics. However, many Spanish ciphers in the sixteenth century used a vowel indicator system, whereby diacritic signs indicate vowels. Indeed, such a cipher was used by Admiral Andrea Doria of Genoa in the preceding months (called the Doria-Charles V Cipher (1528) in another article). If the ambassador's cipher is based on a similar system, codebreaking should not be very difficult. After all, a vowel indicator system separates vowels from consonants, which greatly facilitates the task of codebreaking. Moreover, the ciphertext leaves some word divisions.

The present article describes how I solved this cipher, which I call the Figueroa-Charles V Cipher (1529). Although cryptanalysis against a Spanish cipher with vowel indicators is already described in Adler et al., "Reading Encrypted Diplomatic Correspondence: An Undergraduate Research Project", Cryptologia 32:1 (2008), I believe an additional specimen is of some interest. Codebreaking is an art that cannot be covered by general principles alone.

Frequency Counting

One first notes that superscript/subscript numerals are limited to 2, 3, 7 (subscript) and 2 (superscript). I assumed these were vowel indicators and, to see which numeral stood for which vowel, I counted the frequencies of these numerals occurring on the first page (using a Japanese tally symbol "正"). I thought the frequent subscript numerals 2 and 3 were either E or O, the least frequent one (subscript 7) was U, and the superscript 2 was I. As to A, by analogy from the Doria-Charles V Cipher (1528), I was feeling that the two dots below a letter might indicate A. As it turned out, these were all correct. But I was not sure enough to pursue these hypotheses.

A dot above a letter is used only in sequences at the beginning and the end of ciphertext and may well indicate a null.

Pattern Matching

There are some repeated patterns such as m2fi3o3n2h2f and o3h2d2sd2na (cipher symbols herein are approximate representations). I searched for words with these syllable structures. To take the second pattern as an example, o3, h2 and d2 would be Consonant+Vowel and s, n, and a would be single letters. Moreover, d2 is repeated. I found fifteen words matching this pattern: BABOSEASEIS, CACAREAREIS, COLOREAREIS, DISOCIACION, MANOSEASEIS, NEGOCIACION, PAJAREAREIS, PAYASEASEIS, RAPOSEASEIS, RUMOREAREIS, SABOREAREIS, SENOREAREIS, TARAREAREIS, VITOREAREIS. Of these, NEGOCIACION seemed plausible. (By the way, the word also gave a breakthrough when I broke an Italian cipher earlier this year.) Again, NEGOCIACION turned out to be correct in the end, but I could not be sure at the time, partly because it was not consistent with hypotheses obtained from the first pattern.

I once gave up solving this myself.

Breakthrough

On 17 December 2018, I had to be on train for an hour, during which I gave a look at the ciphertext again. The above identification NEGOCIACION would give identifications:

o3(NE) h2(GO) d2(CI) s(A) d2(CI) n(O) a(N).

That is, d* reads C*, *2 reads *O, and a reads N. The word following this pattern in the ciphertext is "d2a", which, with the above identifications, can be read as CON. (This alone demonstrates the weakness of the vowel indicator system.) It is further followed by +14, obviously a code symbol for some proper noun. "Negotiation with somebody" completely made sense. Moreover, the frequency of consonants seemed right.

I now felt I could pursue these identifications further.

Revealing Values of Symbols

Then, I found a pattern on the second page: rav3m2h3ad2B, which partially reads:

r(*) a(N) v3(*E) m2(*I) h3(GE) a(N) d2(CI) B(*).

Although I do not know Spanish, loanwords of Latin origin in English allowed me to recognize Spanish words. In this case, it was not difficult to guess INTELIGENCIA, which revealed further symbols.

INTELIGENCIA is followed by CON, which in turn is followed by:

B(A) p(*) h7(GU) o..(NA) f(*).

(By this time, I felt sure enough of my hypotheses for the vowel indicators "7" and "..".) Here, I could see a word ALGUNAS, one of the few Spanish words I had learnt in working with Spanish ciphers.

Now, the first pattern above could be partially read:

m2(LO) f(S) i3(*E) o3(NE) n2(*I) h2(GO) f(S),

which suggests a word ENEMIGOS. I was not sure of the consonant for i3(*E) but soon the regularity of the cipher (see below) indicated it should be HE. (Google search returns many instances of "los henemigos" in Spanish.)

Now, it was a matter of time to reveal the remaining symbols. The word INPORTANCIA confirmed a symbol for I and allowed for identifying P and R. The name ANDREA DORIA gave D. The word PORQUE gave QUE. Thus, analogy from English, historical background, and the least knowledge of Spanish words all played a part in the deciphering.

Figueroa-Charles V Cipher (1529)

The reconstructed cipher is shown below. As expected, it is similar to the Doria-Charles V Cipher (1528) even in the regularity in assignment of base symbols for syllables (e.g., "d" for "ca, ce, ci, co, cu"). It is noted that base symbols for syllables are the next letter in the alphabet ("d" for "c", "e" for "d", etc.).

Use of superscript numerals is an additional feature but it is pretty much obvious that the sole superscript "2" would be nothing more than another subscript numeral.


Deciphered Letter of Suarez de Figueroa to Emperor Charles V (24 May 1529)

The following is my preliminary reading of the letter. (In October 2020, I made many corrections according to information kindly provided by Demetrio Martín Vilela from Argentina. Since I limited the corrections to where I could confirm the errors were due to my deciphering/transcription, I am responsible for any remaining errors not inherent in the ciphertext. Martín's provisional reading will be presented below.)

Italics are clear text in the original. Brackets [ ] indicate yet undeciphered cipher symbols.

The large crossout in the manuscript ciphertext indicates it was deciphered on a separate sheet. The plaintext may be found somewhere in the archives.

(p.1) el conde luidovico de bel Joyoso llego aqui estando escriuiendo esta el qual embia Antonio de leiua con
cartas de crehencia Para esta senoria y para el capitan Andrea doria y para iiij
-----[6][3]----
- que procuremos que esta republica haga dos mil infantes con otros dos mil que tiene y que
aqui se busque dineros sobre los granos que an devenir y que destos haga el dicho con de
tres mil o quatro mil honbres y iuntos podrian haber gran effeto porque serian
forcados los henemigos a perder todo lo que esta desta parte depo o venir a socorrelo y desta
manera dexarian libre a milan y los [+^5] por si noserian parte para estar desta parte de a da
y si estu viesen podria serque les diesen en la cabeca los trigos no son legados
para que se pueda tomar sobre los el canbio y de otra manera nose halara porque andrea
doria dia que a causa de no a vera ceptado el canbio de los treinta mil escudos no
se halaria quien qui siese dar ninguna cosa he habladocen - micer ansaldo y tanbien dize
que pues no
- se a cepto este canbio queno qui ere darmas toda vis setra ba iacomo se pueda
aver algundinere para poder encaminar esta negociacion por ser casa de muncha
inportancia y que totalmente daria la vida a las cosas de milan y seria des haber el
designo de los henemigos y venidos que fue[β]en los alemanes se podrea scusar este
gasto - yntes que viniese elconde ludovico yoaviaplanticado - que con l gente que tenia la
señoria / [t]ncrecer mas en costa sehia ese esta iornada y escusa [e_..]nse con serpoca
gente y que a vian platicado esta nogociacion con [+^14] y que siel venia ene lo que se
podria habermas de lo que se pensade y sise puede a der el remedio que para esta effeto
se busca gran bien seria en tretanto que - v. Magt - pro vene de remedio / por lo que
yo? trabaio esto es por metelos en el na y le porque despues dancaran aunque no
quieran / - y vuestra Magt tenga por cierto que aprovecharan - agoramos dial que despues
treinta ---------------
[two paragraphs in clear text]
(p.2)
[three paragraphs in clear text]
----------------
- que todavia se platica de haver la enpresa desta ciudad y que Yanes de Canpo[v]ra-
goso pide a la señoria de venecia tres mil infantes pagados / y iuntos con
los de Sanpol / que podrian haber la vicha enpresa a mime parece que si notienen
inteligencia con algunas personas vesta ciudad que no podran sa lir conesta
porque para esta enpres es menester traher buen hexercito por tierra y armada
por mar y para li de la tierra ternan muncha falta de mantenimientos de manera que sin
estos no podran estar a quimuncho tienpo / pero el de signo sucono podria ser
meior / porque saliendo con esta enpresa por nian las cosas del [+^13] enes tremo
pues seria quitale la platica y el remedio que de canbios y otras cosas de
a qui levan y pensar de quitara - V. Magt - este raso para su venida de manera que es menes
te pro veher contienpo y a esta causa yo? les hago instancia en li que el conde ludovico
les a pedido porque halandonos con las armas en las manos mudaran de parecer hasta
agora nose avia concl[v]ydo mas de lo que arriba tergo escrito / pero tengo esperanca
que se haraviendo el designo que lis henemigos haben devenir a que / ------------

Reading and Provisional Translation

The following is a provisional reading with quick English translation kindly provided by Demetrio Martín Vilela, in which I made some changes according to his comments. I am responsible for any errors in these changes.

- que procuremos que esta republica haga dos mil infantes con otros dos mil que tiene y que
that we seek this republic make two thousand infantrymen with another two thousand he has and that

aqui se busque dineros sobre los granos que han de venir y que destos haga el dicho conde
here look for money over the cereal to come and from those the said Count make

tres mil o quatro mil honbres y iuntos podrian haber gran effeto porque serian
three or four thousand men and together could make big effect because

forcades los henemigos a perder todo lo que ... o venir a socorrerlo y desta
the enemies would be forced to lose everything ...or come to rescue him and in this

manera dexarian libre a milan y los ... por si no serian ...
manner set Milano free and ...would not by themselves be ...

y si estuviesen podria ser que les diesen en la cabeca los trigos no son legados
and if they were, it might be that they would be hit in their heads. Wheat is not arrived

para que se pueda tomar sobre los el canbio y de otra manera nose halara porque andrea
so the exchange can be taken on them and other way will not be found because Andrea

doria dira que a causa de no haber aceptado el canbio de los treinta mil escudos no
Doria will say that because the exchange of the thirty thousand escudos was not accepted will

se halaria quien quisiese dar ninguna cosa he hablado con - micer ansaldo y también dize
not be found who want to give anything. Talking with Micer Ansaldo also says

que puesno - se acepto este canbio que no quiere dar mas todavia se trabaia como se pueda
that this exchange was not accepted he doesn't want to give more, still working on that. As

aver algun dinero para poder encaminar esta negociacion por ser causa de mucha
any money could be got to put this negotiation straight as is a cause of big

inportancia y que totalmente daria la vida a las cosas de milan y seria deshaber el
importance and totally would give the life to the things of Milano and would be undo

designo de los henemigos y venidos que fue[β]en los alemanes se podra escusar este gasto
enemies' design and when the German come this expenditure could be excused

antes que viniese el conde ludovico yo avia platicado - que con la gente que tenia la señoria
before Count Ludovico came I talked - that with the people the Signoria had

... esta iornada y escusanse con ser poca
... this day and they excuse with be few

gente y que a vian platicado esta nogociacion con [+^14] y que si el venia
people and they had talked this negotiation with ... and if he come

podria haber mas de lo que se pensade y si se puede a der el remedio que para esta effeto
could be more than it was thought and whether the cure that for this effect is looked for can be given

se busca gran bien seria entretanto que - v. Magt - pro vene de remedio / por lo que
great good would be meanwhile Your Maj. gives cure / hence

yo? trabaio esto es por meterlos en el na y le porque despues dancaran aunque no quieran
work this to put them in the [difficult position?] because after (that) they will dance whether they like it or not

/ - y vuestra Magt tenga por cierto que aprovecharan -
and Your Maj. have as certain that they will take benefit

- que todavia se platica de haver la enpresa desta ciudad y que Yanes de Canpodragoso
that is still talked about the endeavour of this city and that Yañez [Llanes?] de Campofragoso

pide a la señoria de venecia tres mil infantes pagados / y iuntos con
asks the Signoria of Venice three thousand infantrymen with pay / and together with

lis de sanpol / que podrian haber la dicha enpresa a mi me parece que si no tienen
those of Sanpol (Saint Paul?)/ that could make that endeavour. I reckon if they haven't

inteligencia con algunas personas desta ciudad que no podran salir con esta
intelligence with some persons of this city, they won't be well ridden

porque para esta enpres es menester traher buen hexercito por tierra y armada
because for this endeavour is necessary to bring good army by land and navy

por mar y para la de la tierra tendran mucha falta de mantenimientos de manera que sin
by sea and for that of the land they will have great lack of supplies so without

estos no podran estar aqui mucho tienpo / pero el designo suyo no podria ser
these they cannot be here long time. but your design can't be

meior / porque saliendo con esta enpresa pondrian las cosas del [+^13] en estremo
better /because with this endeavour they put ??'s matters to the extreme

pues seria quitale la platica y el remedio que de canbios y otras cosas de
as would be take from them the talks and the cure from exchanges and other things

aqui levan y pensar de quitar a - V. Magt - esta rason para su venida de manera que
(that they) take from here and think of taking from Your Maj this reason for Your coming so

es menester proveher con tienpo y a esta causa yo? les hago instancia en la que el conde ludovico
is neccessary to provide in time and to this cause ... I witness in what Count Ludovico

les a pedido porque halandonos con las armas en las manos mudaran de parecer hasta
has asked because finding us weapons in hand they'll change their minds, till

agora no se avia concluido mas de lo que arriba tengo escrito / pero tengo esperanza
now it wasn't concluded more than I have written above But I have hope

que se hara viendo el designo que los henemigos haben de venir a que / ------------
it will be done seen the design that the enemies would come to ...

Historical Background

In 1528, when the French was leading a successful campaign in Italy, King Francis I alienated the Genoese admiral, Andrea Doria. He entered the Emperor's service and drove out the French from Genoa. The French army in the southern Italy collapsed.

At the Battle of Landriano (in Lombardy) on 21 June 1529, the Count of St. Pol's French troops for relieving the French army besieging Genoa were defeated by the Spanish army under Antonio de Layva (Wikipedia). The Pope made peace with the Emperor at the Peace of Barcelona on 29 June 1529. (The above letter was written about a month before this.)

In August 1529, Francis I and the Emperor made peace in the Treaty of Cambrai. This ended Francis I's involvement in the War of the League of Cognac against the Emperor (1526-1530).

Related Articles:

S. Tomokiyo, Spanish Ciphers during the reign of Emperor Charles V

S. Tomokiyo, Spanish Ciphers during the Reign of Philip II



©2018 S.Tomokiyo
First posted on 23 December 2018. Last modified on 2 October 2020.
Cryptiana: Articles on Historical Cryptography
inserted by FC2 system