Frequency Tables

First Alphabet Second Alphabet
Letter Prefix (6) Suffix (2) Letter Prefix (1) Suffix (3)
A 111 3 DUD ESF A 0
B 11111111 8 OOOFEEOS EOESYSCY B 111 3 TQQ ALL
C 0 C 1 1 B C
D 1111 4 TYT DJUD D 111111 6 DTPDXT LBCNVE
E 1 1 E S E 11111111111 1 1 ABNBNINRRYN EOATLATYQTF
F 0 F 111 3 QIA IQF
G 0 G 11 2 RR LL
H 0 H 1 1 Z O
I 11111111 8 EOFFEOVS OSEFQYJ I 0
J 0 J 1111 4 ZLDI ILCR
L 1 1 O J L 1 1 T L
M 1 1 F O M 1 1 V I
N 1111 4 FEDU EEEE N 1 1 P R
O 1 1 E O O 1111111 7 OIBQRMR AOEYYYY
P 11 2 GE ND P 1 1 T Y
Q 1111 4 UEOE OFBB Q 11111 5 XXITX OIRCR
R 1111111 7 EEEYYBB GSGOOEE R 0
S 1 1 D V S 11111111 8 REIATBVB LMLIQQDV
T 11111111 8 JUJMQYVF LDSBPQDT T 1 1 T N
U 0 U 111 3 XDZ CLL
V 11 2 UF MS V 1 1 S I
X 111111 6 YQTQQA QUQDYQ X 0
Y 1 1 O E Y 1111 4 BIXB LCTL
Z 111 3 UUM JHU Z 0
Third Alphabet Fourth Alphabet
Letter Prefix (2) Suffix (4) Letter Prefix (3) Suffix (5)
A 1111 4 OEEB CERE A 0
B 1 1 D G B 0
C 111111 6 JUDYQC PYNUMU C 11111 5 LRAQT HHDDL
D 1 1 S D D 11 2 QD LU
E 111 3 EOD SST E 11111111 8 MQAYQALR JICHCQCC
F 11 2 FE SS F 0
G 0 G 1111 4 BOIY UCIH
H 0 H 1 1 Y E
I 111111 6 JMSFQV MGUXRX I 0
J 0 J 0
L 11111111111111 14 DGLSJSUEGYBBUY RMCSPYXQXEUVXL L 1 1 L T
M 1 1 S E M 11111 5 LIYYC UUUUU
N 11 2 DT PX N 111 3 TCV DZL
O 1 1 O G O 0
P 0 P 111 3 LCN DJU
Q 1111111 7 EQSFHSE ETESCDT Q 1 1 L M
R 1111 4 NQQJ CXEZ R 111 3 LAI MNM
S 0 S 111111111 9 LEETQYFTF ODHCEVCII
T 1111 4 EEEY NSCS T 1111 4 QQVE OOIG
U 0 U 1111 4 ICLC PDLY
V 11 2 SD TN V 1 1 L U
X 0 X 1111111 7 LILRILN PZBUBL
Y 111111 6 OPOOOE ESHMMG Y 11 2 LC DLJ
Z 0 Z 1 1 R H
Fifth Alphabet Sixth Alphabet
Letter Prefix (4) Suffix (6) Letter Prefix (5) Suffix (1)
A 0 A 1 1 B X
B 11 2 XX EA B 11 2 UU RR
C 1111111 7 GDDSDSD OOFFOEV C 0
D 111111 6 SCPYNCU UEUUQTQ D 1111 4 UNLU ANSA
E 11 2 SH TP E 1111111111111 13 MHOIDPZZMBQUC RREOIQPNRIBQB
F 0 F 1111111 7 PCCJEOC NIIBMVT
G 1 1 U T G 1 1 U P
H 111111 6 CCSDGZ EOOYYS H 0
I 11111 5 EGTSS EYOMV I 0
J 111 3 EPX UOP J 11 2 UM TT
L 111111 6 YDUCNX UDYQQU L 0
M 111 3 RQR EJE M 11 2 UI TZ
N 1 1 R D N 0
O 111 3 STT ETF O 111111111 9 HCJCHCVIG BLIBBIQYB
P 11 2 UX FE P 0
Q 1 1 E E Q 1111 4 DDLL XTXX
R 0 R 0
S 0 S 11 2 HT BI
T 1 1 L S T 111 3 OED DDX
U 1111111111 10 MMGPXMMVMD JDGUMYEBBD U 1111111 7 JDDDLUL ZTVAQZN
V 1 1 S O V 11 2 CI TI
X 0 X 1 0 I
Y 1 1 U F Y 11111 5 IHLUH XDRRT
Z 11 2 XN EE Z 0

We will now set down some of the determinations which can be made at once from these frequency tables. Clearly several mixed alphabets have been used. As was to be expected from the analysis of the recurring groups, we note that the frequency tables for alphabets 2 and 6 are of so nearly the same general form that certainly these two alphabets are one and the same. If a Spanish word has been used as a key word, this means that A is probably represented by a vowel in these two alphabets and probably equals A or O, because these two letters are such common finals in Spanish.

1st Alphabet. Probable vowels T, X; probable common consonants, B, I, N, R. We conclude this because of the frequency of occurrence of T and X and the variety of their prefixes and suffixes. On the other hand, B, I, N, and R have for prefixes and suffixes, in a majority of cases, E, F, O and S which are the probable vowels in the 2d and 6th alphabets.

2d and 6th Alphabets.—Probable vowels E, F, O, S; probable common consonants, D, J, Q, U, Y.

3d Alphabet.—Probable vowels C, I, L; probable common consonants A, Q, T, Y.

4th Alphabet.—Probable vowels, E, G, S, T; probable common consonants, C, M, N, P, U, X.

5th Alphabet.—Probable vowels, D, L, U; probable common consonants, C, H, I.

Now this cipher may have been made up from five distinct alphabets with letters chosen at random but it is much more likely to have been prepared with a cipher disk or equivalent, having the regular alphabet on the fixed disk and the mixed alphabet on the movable disk. An equivalent form of apparatus (not using the mixed alphabet in question) is one like this:

Fixed Alphabet of Text
ABCDEFGHIJLMNOPQRSTUVXYZABCDEFGHIJLMNOPQRSTUVXYZ
PCJVRQZBAODFSUTMXIYHLGEN
Movable Alphabet of Cipher

Here A of the plain text is enciphered by S and the other letters come as they will. If we move the cipher alphabet one space to the left, A will be enciphered by U and the whole sequence of the alphabet will be changed.

We will therefore use some such form as the above and see if we can insert our letters, as they are determined, in such a way as to have each of the cipher slips identical. We may start thus:

ABCDEFGHIJLMNOPQRSTUVXYZABCDEFGHIJLMNOPQRSTUVXYZ
1st Alphabet                        t   x
2d                        ol qei ms  d c u
3d                       ol qei ms  d c u
4th                    ol qei ms  d c u
5th                        d c u      ol qei  ms
6th                        ol qei ms  d c  u

In the 1st alphabet, T and X are placed as A and E respectively on the basis of frequency. In the 2d and 6th alphabets, O and E are placed as A and E respectively on the basis of frequency. In the 4th alphabet, E and S are placed as A and E, and in the 5th, D, U and L are placed as A, E and O for the same reason. We now have an excess of E’s and a deficiency of A’s, which will be corrected if, in the 3d alphabet, we place L, I and C as A, E and O respectively. As a check, this gives us TOLEDO as the key word.

In the second alphabet, O is four letters to the left of E; we may place O four letters to the left of E in the fourth and it comes under V. Note that in the fourth frequency table O (= V) does not occur. In the same way in the fourth alphabet, S is four letters to the right of E; placing it in the same position with respect to E in the second and sixth, we have S under I. We have already noted that S probably represents a vowel in these two alphabets. In this way, we may add D and U to the third alphabet from their position in the fifth with respect to L and we may add I and O to the fifth from their position in the third with respect to L. In every case we check results from the frequency tables and find nothing unlikely in the results.

Now in the second and sixth, let us try Q, D and U as D, N and R respectively. We may add these letters to the third, fourth and fifth alphabets by the method of observing the number of letters to the right or left of some letter already fixed. We now add L to the second, third, fourth and sixth from its position with reference to D and U in the fifth. M is probably D in the fourth and we may add it to each of the alphabets, except the first, in the same way. The table is now complete as shown.

Let us try these letters on the first line of the message and see if some other letters will be self-evident.

Alphabet 6
Message U
Deciphered R

Referring to our frequency tables as a check on suppositions, we find everything agrees well enough if we assume the first line to read:

UNAFUERZA DE CABALLERIA ENEMIGA

We will now put the newly found letters in the table. The letters previously found are in capitals and the new letters in small letters. The addition of D (=U) to the first alphabet permits us to add all the letters of the other alphabets to the first by the methods already discussed. Each of the other letters may then be added to every alphabet by these methods:

ABCDEFGHIJLMNOPQRSTUVXYZABCDEFGHIJLMNOPQRSTUVXYZ
1st                         T   xhgoljqei msr  d c u
2d                  t   xhgOLjQEI MSr  D C U
3d                 t   xhgOLjQEI MSr  D C U
4th              t   xhgOLjQEI MSr  D C U
5th      t   xhgOLjQEI MSr  D C U
6th                  t   xhgOLjQEI MSr  D C U

One alphabet checks another in this way and we find everything to fit so far. We will decipher a few words more of the cipher message by the above alphabets and see if we can determine some new letters.

Alphabet
5612345612345612345612345612345612345612345612345612345612
Message
JUZJIMUDAEESDUTDBGUGPNRCHOBEQEIEOOACDEIOOGCOLJLPDUVMIGIYXQ
Deciphered
PR_CEDEN_EDEARAU__UEZ_ILLA_ECASEHA_LAENAZUCAICA_AR_HEUS_ED

Again referring to the frequency tables the first word is evidently PROCEDENTE. We have also HALLA and MARCHEUSTED. The letter B may be determined from another cipher group, JFBSQDLD (56123456) = POSICION. The letter N may be determined from BETNDQXUC (123456123) = SERRADERO. The letters F and Y may be determined from JCPJOISLYDUASIUPF (23456123456123456)= COMPANIA PARTIENDO. The completed alphabets, arranged as before, are:

ABCDEFGHIJLMNOPQRSTUVXYZABCDEFGHIJLMNOPQRSTUVXYZ
1st                         TYVNXHGOLJQEIZMSRBADFCPU
2d                  TYVNXHGOLJQEIZMSRBADFCPU
3d                 TYVNXHGOLJQEIZMSRBADFCPU
4th              TYVNXHGOLJQEIZMSRBADFCPU
5th      TYVNXHGOLJQEIZMSRBADFCPU
6th                  TYVNXHGOLJQEIZMSRBADFCPU

The key word is TOLEDO and the completely deciphered message is:

“Una fuerza de caballeria enemiga procedente de Aranjuez y Villaseca se halla en Azucaica. Marche usted con su compania partiendo de la casa de la serradero por las alturas de lo este y norte de Azucaica con el fin de reconocer su numero y clase de fuerzas y en disposicion que se halla. (Q) Esta acantonada (Q) Se hallan otras tropas detras de ella (Q). El resultado del reconocimiento necesito saberlo dentro de tres horas y media cuando mas. Pongo a sus ordenes un ciclista (X) Fin.”