General Remarks

Any substitution cipher, enciphered by a single alphabet composed of letters, figures or conventional signs, can be handled by the methods of case 6. For example, the messages under case 4-a and 5-a are easily solved by these methods. But note that the messages under case 4-b and 5-b cannot so be solved because several alphabets are used. We will see later that there are methods of segregating the different alphabets in some cases where several are used and then each of the alphabets is to be handled as below.

Case 6-a.

Message

QDBYP BXHYS OXPCP YSHCS EDRBS ZPTPB BSCSB PSHSZ AJHCD OSEXV HPODA PBPSZ BSVXY XSHCD

This message was received from a source which makes us sure it is in Spanish. The occurrence of B, H, P and S has tempted us to try the first two words as in case 4 and 5 but without result. We now prepare a frequency table, noting at the same time the preceding and following letter. This latter proceeding takes little longer than the preparation of an ordinary frequency table and gives most valuable information.

Frequency Table

PrefixSuffix
A112ZDJP
B111111118DPRPBSPZYXSBSPPS
C111115PHSHHPSSDD
D111115QECOCBROA
E112SSDX
F
G
H1111116XSSJVSYCSCPC
I
J11AH
L
M
N
O1113SDPXSD
P1111111119YXCZTBHABBCYTBSOBS
Q11D
R11DB
S11111111111112YYCBBCPHOPBXOHEZCBHZEZVH
T11PP
U
V112XSHX
X111115BOEVYHPVYS
Y11114BHPXPSSX
Z1113SSSPAB

It is clear from an examination of this table that we have to deal with a single alphabet but one in which the letters do not occur in their regular order.

We may assume that P and S are probably A and E, both on account of the frequency with which they occur and the variety of their prefixes and suffixes. If this is so, then B and H, are probably consonants and may represent R and N respectively. D and X are then vowels by the same method of analysis. Noting that HC occurs three times and taking H as N we conclude that C is probably T. Substitute these values in the last three words of the message because the letters assumed occur rather frequently there.

PBPSZBSVXYXSHCD
III
ARAE_RE__ENT
OOO

Now Z is always prefixed by S and may be L. Taking X=I and D=O, (they are certainly vowels), V=G and Y=M, we have

ARA EL REGIMIENTO

Substituting these values in the rest of the message we have

QDBYPBXHYSOXPCPYSHCSEDRBSZPTPB
_ORMARINME_IATAMENTE_O_RELA_AR
BSCSBPSHSZAJHCDOSEXVHPODA
RETERAENEL__NTO_E_IGNA_O_

We may now take Q=F, O=D, E=S, R=B, T=C, A=P and J=U and the message is complete. We are assisted in our last assumption by noting that S=E and E=S, etc., and we may on that basis reconstruct the entire alphabet. The letters in parenthesis do not occur in the message but may be safely assumed to be correct.

OrdinaryABCDEFGHIJLMNOPQRSTUVXYZ
CipherPRTOS(Q)(V)N(X)(U)(Z)(Y)(H)DAFBECJGIML

It is always well to attempt the reconstruction of the entire alphabet for use in case any more cipher messages written in it are received.——

Case 6-b.

Message

Lt. J. B. Smith, Royal Flying Corps, Calais, France.

DACFTRRBHAMOOUEAENOIZTIET
ASMOSEOHIEYOCKFNOHOENOUTH
OMEAHNILGOOSAHUOHOUEAPCHS
TLNDACFTENINTWNBAFOHGROHT
AEIOHABRISODACFTRRENOSTSM
AYBISDFTENEFAPHOSMNIZTIEA
HLILLTWSOUGDENOUTHOMEAHBH
AMOOUEAYOEQISUUOLEHADENOE
NHOOQOBBORTSLHOBAHEOUBHOB
IHTSWENOHOPAHIHITUASBIHTL

Graham-White.

The address and signature indicate that this message is in English.

There are 250 letters in the cipher; the vowels AEIOU occur 109 times or 43.6%, the letters LNRST occur 62 times or 24.8%, and the letters KQVXZ occur 5 times or 2%. The proportion in the case of the vowels is somewhat too large and, in the case of the letters LRNST, it is too small. It is then questionable whether this is a transposition cipher altho, at first glance it might appear to be one.

On examination for parts of possible words we are at once struck by the occurrence at irregular intervals of recurring groups, viz:

DACFTRRENOBHAMOOUEA
DACFTENENOUTHOMEAHBHAMOOUEA
ENO
DACFTRRDENOUTHOMEAHIZTIE
FTENDENOIZTIE
ENO

This is a strong indication that the cipher is a substitution cipher, so, to make an examination a frequency table will be constructed.