Major Types of Ciphers during the Reign of Philip II

This article presents a brief summary of major types of ciphers during the reign of Philip II of Spain, detailed in another article. While it was common that a nomenclature (i.e., in modern parlance, "code" for representing whole words rather than letters) was also provided, the following focuses on the "cipher" portion for representing letters and syllables.

Simple Ciphers with Homophones

There were simple ciphers, either consisting of symbols or figures.


Blocked-Square Numerical Ciphers

A variant in simple numerical ciphers assigns figures 11-99 in a square to letters in the alphabet according to blocking of the square. This scheme is called "Tassis' table" by De Lamar Jensen.


Of the above examples, the latter corresponds to Cp.37 with its ordering of rows reversed.

Ciphers with Vowel Indicators

The most characteristic feature of the Spanish ciphers from this period would be use of vowel indicators, i.e., symbols attached to consonant symbols to systematically form syllables.



Devos (1950) transcribes many examples of this kind of ciphers. One more example is presented in my Cryptologia article.

This kind of ciphers were not the creation of this reign. Examples are seen in the reign of Charles V as well as in Italian ciphers.

In one case, the number of indicators amounted to 15 (see the image below) but it was too many to be widely adopted in other ciphers.

Syllabic Numerical Cipher

Numerical cipher Cp.32 proposed by Bernardino de Mendoza in 1587 (more or less) regularly assigned different figures to different syllables rather than using vowel indicators. The scheme was employed in some of the subsequent ciphers in combination with vowel indicators.


This scheme was used a century later as the image below (for which see another article).


Codewords of the form "x00"

Cg.57 (see another article) is peculiar in its code words in the form "x00", i.e., an alphabetical letter plus a figure 1-51. Moreover, although a substitution alphabet of the conventional form is provided, the code words include single letters. This can avoid a breakthrough for codebreaking by focusing on ciphertext portions enciphered letter by letter. Inclusion of single letters in the code anticipates ciphers in the late seventeenth century.

k1(a) 3(3) t6(des) b24(te) d7(es) l4(cre) y25(vi) l15(lo) m21(que) x47(s) q(o) n7(fri) z2(ci) i1(a) z47(so) c5(bre) m16(las) f34(cosa) c(s) m5(de) s35(Francia)
b7(en) m16(las) n35(galera) c(s) n21(que) i15(lle) n25(tra) k23(ron) c1(al) n33(conde) h44(de) x16(mi) g23(ran) l5(da) d(i) z6(el) p5(du) p19(pli) x2(ca) o5(do) y7(fu) 7(e)
b21(por) n42(tierra)

Numerical Code

Benasco's Cipher (1597) is a cipher with a numerical nomenclature. Diacritics (: ^) seem to be used consistently but may be meaningless.

108(an)
118(castello)
159(ca)
184(donde)
183(con)
188(car)
198(da)
202(del?)
203(do)
204:(de)
233(em)
240(es)
246(en)
277:(gente?)
292(ga)
351:(mente)
359:(muntion)
378:(name)
390:(para)
409(la)
429(lan)
439(les)
441(los)
446(ma)
447(me)
449(mi)
478(mos)
480(nu)
483(na)
488(no)
494(nil)
561(pol)
573(par)
577:(pre)
579:(pro)
619(sa)
622(ra)
623(ra)
659(s)
690(ti)
699(te)
701(ti/tr?)
716(tan)
732(u)
733(va)
737(ve)
741(vo)
756(van)
775(xe)
808(y)
848^(za)


©2011 S.Tomokiyo
First posted on 30 December 2017. Last modified on 3 December 2023.
Cryptiana: Articles on Historical Cryptography
inserted by FC2 system