दुर्गा बेरागी Durga Beragi, homeEnter the study →

Library › Cryptography, blockchain and crypto › Elementary Cryptanalysis › Full text

Elementary Cryptanalysis

Helen Fouché Gaines · part 17 of 18 · 146,045 words

Public-domain edition · source: Project Gutenberg eBook #75074 · Public domain in the USA (Project Gutenberg)

Hr5 Ky3 LD Zx Nq2 Eo Nd Ec Tc Ti2 Ad Ct Ak Rh Lb2 Gt Sn An

UN2 ON DR HX PE BN ZC DT KV EQ2 HD AO HR5 DU RP TQ OB DE2

Qd2 Hr5 Ky3 Ya2 Hz Hb Bu Kz Eq2 Xg Ti2 Bi Ky3 Ri Cq Hr5 Ce Co

SX RM BC TH CG QD2 RK NQ2 IT DC WT FV2 UB2 YA2 GU HE CZ NU2

Lb2 Iq2 Yk Fv2 Ub2 Iq2 Wd Qb Un2 Km De2 Td Ka Hr5 Nu2 Ou

Frequency Count - Rearranged:

D H B C N Q R T K U E A I O Y Z G X L V F M P S W J 14 12 11 11 11 11 11 11 10 10 9 7 7 6 6 5 4 4 3 3 2 2 2 2 2 -

List of REVERSALS "Chart of Probable Position"

HR 5 - RH 1 EC - CE E T/ D H B C N Q R K U KY 3 - YK 1 TC - CT D H UN 2 - NU 2 AK - KA B C N Q R UB 2 - BU 1 ZC - CZ K U TI 2 - IT 1 DT - TD

The Playfair has also a rather characteristic frequency count. Notice, in the figure, where the general count has been rearranged in the order of decreasing frequencies, that the gradation from high to low is somewhat less even than in a periodic; frequency 8, for instance, is skipped altogether, and we have a sort of modified high-frequency group. Sometimes we find from one to three letters of great prominence before the downward gradation begins.

Concerning the “chart of probable position,” most solvers prefer simply to keep this in mind, while others will actually set it down and make it the basis of their solution. With 176 letters of text, the average frequency of letters is about 7 (176 divided by 25). Any letter whose frequency is above that average is very likely to have been standing on the same row or in the same column of the key-square as E or T, and the two or three which lead the list are practically sure to have been substitutes for one of these two letters.

With cryptograms of the present length, or even with those of 400 to 600 letters, it is very uncertain as to whether or not the leading pair will represent th, or the leading reversal er-re. Here, in fact, we have no reversal of a definitely frequent character, and our one prominent pair, HR, might just as well represent st, at, it, on, re, se, or any other normally frequent digram capable of being used at the beginning of a sentence. Presuming, however, that it might represent th, we know that this digram is followed almost altogether by vowels, and is followed with remarkable frequency by e and a; we know also that letters have individual substitutes. Thus, we might begin solution by listing (or noting) those pairs which, in the cryptogram, have followed the supposed th: KY, DU, KY, CE, NU, assuming that their first letters, K, D, C, N, have probably represented vowels, and that, of these, D, C, and N, which rank high in the list of single-letter frequencies, are very likely to have represented e. We may attempt to identify these five pairs by working down the list of normal digrams, taking only those of v-c formation. If, in addition, it is assumed that the key-square has been filled by straight horizontals, certain assumptions can be made through possible alphabetical sequence; for instance, the U of DU and NU may have stood on the same line with R S T (U). There is a further field for suggestions to be found in patterns, such as TI BI, in which the two I’s could represent the same letter. And where the square is filled by straight horizontals, it is often possible to identify such a sequence as HZ HB as a “split double,” since the null used in these cases is often X, and Z may well represent X by alphabetical position, It is even possible to guess here a doubled L, since H and L are not far apart in the alphabet. (It may be, of course, that the two H’s represent two different letters.) The foregoing, then, has indicated the general path. If the student desires to follow out a detailed demonstration made on a cryptogram of only moderate length, a most excellent exposition can be found in the appendix to the Macbeth translation of Langie’s “Cryptography” (Dutton). It was written by Lt. Commander W. W. Smith of the U. S. Navy, and generally speaking, attacks the identifications of pairs as follows:

Having placed frequency figures beside their digrams, find those points at which two pairs of high frequency are consecutive (not necessarily a repeated sequence), and attempt to identify these tetragrams as frequent tetragrams of the language: ther, ered, ened, tion, atio, ment, beca, and so on. We have one here, provided a frequency of 3 can be considered important: HR KY. Since this happens also to be repeated, it probably represents a word, as that, this, they.

Another good demonstration, provided the student has access to it in his public library, is found in Colonel Parker Hitt’s “Manual for the Solution of Military Ciphers.” This manual is an elementary work intended for the preliminary instruction of soldiers, and the attack is made on the assumption of a key-square filled by straight horizontals. With a square of the kind we are using, most of the vowels and high-frequency letters will be standing on the upper two rows, and letters on the first two or three rows will have a much higher frequency than those of the last two or three. In fact, it can often be detected that the letters V W X Y Z were standing on the bottom row as an intact alphabetical sequence, for the simple reason that they have no frequency in the cryptogram.

Colonel Hitt’s demonstration begins with the usual pair-count, made on a chart. He selects from this chart the (approximately) ten letters having the widest variety of contact, including, if necessary, the vowel or so which would have to be present in a key-word; and these letters are assumed to have stood on the upper rows of the key-square. The remaining (approximately) fifteen letters are then set up in their alphabetical sequence and are assumed to have stood on the lower rows in about that order. They are not, of course, known to be correctly placed; the set-up merely gives a concrete idea as to where letters ought to have stood. Then, following the military case of abundant material, it is assumed that the leading pair will represent th (sure to be followed often by e), or, if th is not the leader, then he (sure to be preceded often by t). With a few obvious identifications made in the usual way, letters begin to arrange themselves on the upper rows, and a gradual adjustment takes place which corrects the few wrong assumptions of the lower rows, so that the key-square is restored far in advance of solution. When a short key-word has been used, it is not impossible, by following Colonel Hitt’s suggestions, to pick out all of the key-letters, guess the word, and decipher with the key-square. Other demonstrations, based, respectively, on French and Italian language characteristics, can be found in General Givierge’s Cours de cryptographie and in General Sacco’s Manuale di crittografia. (In the French work, the cipher is referred to simply as “orthogonal and diagonal substitution.”)

* * *

It will be seen from the foregoing that the initial difficulty lies in the correct identification of the first few pairs, and this, in a short cryptogram, is no small difficulty. By whatever means it is found possible to make these first tentative identifications, the operation which is to admit or disprove their correctness is step No. 2, in which we set them up as equations and then attempt to replace them into their connected relationships in the key-square. If this cannot be done, they cannot be correct; and, on the other hand, it would be an extremely rare case indeed in which we could combine as many as five or six such equations into one framework and then find them incorrectly matched. To understand “equations,” suppose we look at Fig. 168.

Figure 168

Possible Relationships

(a) A 3-letter Equation (b) A 4-letter Equation

Vertical Horizontal Vertical Horizontal Rectangular

I T K I . K H T H R . I K . S Y . . R S Y . S Y

(c) Impossible Equations: (d) Possible Equations:

co nd em na ti on -c on de mn at io n- EO ND EC TC TI AD EO ND EC TC TI AD CT

Assuming that the beginning pairs of our cryptogram, HR KY, represent the word this, we have two equations, HR = th, and KY = is. The first of these has only three different letters, since H is common to both members, while the second has four different letters. With the first case (a), one of the lineal encipherments must have been used, and the common letter, H, must have stood between the other two, with its plaintext partner coming first and its cryptogram partner coming last. We do not know whether these three letters stood in a column or in a row, but we do know that they were consecutive. This relationship may be expressed simply as T H R, even though, in the actual square, the letters may have been partly at the end of the row (or column) and partly at the beginning: H R * * T or R * * T H. Encipherment, remember, is cyclical, and we may come out with any one of numerous “equivalent squares.” With the second equation (b), the positions of letters are not so definite. In either of the lineal encipherments, IK must be in direct sequence and SY must be in direct sequence; either sequence may have come first, and we do not know the exact location of the fifth letter. Concerning their possible rectangular encipherment, all we know is that there must have been a parallel relationship; their distance apart, laterally or vertically, might have been anything permitted by the key-square. As to the rest of the figure, suppose that we have reason to suspect the presence in this cryptogram of the word “condemnation.” The equations of (c) are totally impossible, since, in Playfair, no letter may be its own substitute. Those of (d) are not only possible, but probable, since we find many letters from the word itself.

Figure 169

Equations of (d),(Fig.168) Possible Combinations

1 2 3 4 5 6 7 8

O D O N O N D E D E C N O N D O D C D E N O N D E C E C D E C C

9 10 11 12

M T M . T O N D E C . M T . N C . . . . N C . N T M C

13 14 15 16

A O N D E C O N D E C T A T I . . . . I A A T I M T M I

To learn whether or not the word “condemnation” does (or could) occur here, we proceed as in Fig. 169. The first of the five equations may have had either one of the relationships marked 1 and 2, and the second may have had either of the relationships marked 3 and 4. These two equations have a letter D in common, and it must not be impossible to form a combination which will represent both. This, as it happens, can be done in four different ways, marked 5, 6, 7, and 8, and we do not know which of the four is most likely. The third equation, which has four different letters, may have had any one of relationships 9, 10, and 11. These, fortunately, show two letters, N and C, which are also present in combinations 5, 6, 7, and 8, and with two common letters, there will not be so many possible adjustments as when we had only one. Nos. 9 and 10, for instance, cannot possibly combine with any one of combinations 5, 6, 7, and 8; both of these have demanded that the letters NC be in direct sequence, where the first four combinations will not permit this. We may begin, then, by discarding Nos. 9 and 10. But No. 11, which we have retained, demands of C and N only that they be on the same row. This is not permitted by any one of combinations 5, 6, or 7, and these also may be discarded. But No. 8 shows them on the same row; thus Nos. 8 and 11 may be further combined, and we have the combination marked 12. The fourth equation, another lineal one, may have had either of the relationships marked 13 and 14, and both of these will combine easily with the combination marked 12, so that again we have more than one possibility, as indicated under numbers 15 and 16. As to which of these is correct, the fifth equation, io = AD, is impossible to one, and has automatically been set up in the other.

* * *

We are safe, now, in making substitutions on the cryptogram. This means not only the five pairs originally identified, together with their reversals and possible reciprocals, but all others which can be derived from combination 16, such as om = CA, or dm = CI, or en = DC, together with their reversals and possible reciprocals. Then, too, there will be many partial equations, such as those indicated in Fig. 170, where one letter of a pair can be identified. Usually time is saved by taking cryptogram pairs just as they come and filling in as many letters as possible; in this way, patterns are sometimes brought out, and thus we come back to step 1: the identification of more pairs. With the key-square beginning to shape up, the “chart of probable position” may be used to good advantage. For instance, what about the letters H and B which were very high in the frequency list?

Figure 170

O * * E N * E DE EC . . . . A T I M

Once a beginning is made, the cipher is broken, though just how rapidly we may proceed with the solution depends chiefly upon the manner in which the square has been filled. The presence of alphabetical sequences (either horizontal or vertical) will often enable us to complete the key-square independently of the cryptogram; but the badly mixed square must usually be built up to the very end, and we must sometimes be satisfied with one of the “equivalents” in place of the square originally used. If the student cares to make a fresh beginning of his own, this same cryptogram contains the word RECONSTRUCT.

* * *

Figure 171

S E N D D D S T O a R D a M M I a M O N M X S T E O N D a Y

The Playfair has been, in its day, a very effective cipher, and is still good for many purposes. It can be rendered much safer if subjected to the process called seriation. This process may be examined in Fig. 171. Here, the text is “Send diamonds to Amsterdam Monday,” and the agreed seriation index is 5. The text is written in pairs of five-letter lines, so that each ten-letter segment forms five vertical pairs, SI, EA, NM, etc., and these are the pairs which undergo the digram encipherment (notice the treatment of the doubled S in the second group). If the key-square is that of Fig. 166, the first ten-letter segment is enciphered QK, UF, TG, SA, RS, and the cryptogram may be taken off in that order, or by taking the upper and lower lines separately: Q U T S R K F G A S. Seriation, it will be noticed, adds a transposition to a substitution, so that what we have here is combination cipher. This case, in short examples, is extremely difficult; it is mentioned only by way of general information, and is not included in the practice cryptograms which follow.

149. By NEMO. (Playfair. Probable words: ENEMY AGENTS).

Os Cf Wd Og Dr an Po as Oa Dh Sd Eh Xk Fu Cn Dr Pf Uk Sd.

150. By NEMO. (Playfair. Probable words: AUTHORIZED, EMERGENCY).

PK HL PG RI YH YN HQ IF YF GY ZL EB YF UK NK NG FL FG OL BD GX GK FC PK HG NV AC ZL KH PK FG FK RZ FG RQ XO IB PB BD LE MV KG GY OL AD FK OR FC LK YN HL LK KZ IF EF AX NG ON BV IK BI PK IO HQ IF AG LX YA FK AD YG KO AK EG TO OH BI RB OL ON KM FO PK KY PR EF DZ IF AY QH CZ OK IQ WP FG LF DM CA VO GW PK NG KX KO LH AG NB RT NG KO KH HK OX ML GP ML PB QD RB OH EB LH NK NG FC PK KY QS LH NE IQ WP FG.

151. By PICCOLA. (Figure 164; new external alphabets. THE, THIS, CHARACTER).

NF BJ HT MD NF WJ GD UC HN FW QI CE HP NF IA SE HS HS LG QA IY QD HV CC LB NF IA IA CL GA RJ BD NM MA SY KU RD FT HC US HN GH VJ UA SY UL HN XJ EG QQ CJ LB NF KJ CN CS UK GJ MD NF IA FK NQ GJ XX.

152. By PICCOLA. ("Slidefair." Probable word: DESCENT).

AA FS AF XY GJ BD UI AA PW GN IV QZ RC NK CC WA FT QQ PR GP TT WF PS JS QC HM DI XC AH JP FB DC EW OX UG GP UI US CV GP MH QR OG JI ZR.

153. By DAN SURR. (Playfair. History: Detective Gettamann, investigating the murder of Francis V. Bacon, well-known traveler, explorer, and connoisseur, has found this message in an envelope addressed to Wm. K. Pierce, former traveling companion of the deceased. Death had occurred during sleep; caused by strangulation with red silk thread. Only clues found: a few grains of sand on the kitchen floor and what appears to be an oriental turban).

YG NG CR FV FZ RI OU KZ CW OW BQ GQ IH HL YW EG NG QM WX RT KP VE CA IG QI VD QI GN GZ IZ QY QR HY NG XN AB AK OX NY WC WC TN OX DH NE IH IH YR IS QY WC HI UI UI IR QE WS RW LG WR AB GW VW CA RQ XM ER QM RE CW ZI RQ XW QW GH YC AY YO VO NE RL PG CG WI NX VW CA NX QM LH IG RQ WT GO UI GZ EG XN IW OU XT WO LH IG RQ XM WS QY TX IR IQ XM OG DU AB RM AK UM RG ZR XA PM RW LD KG HI XK LC RT KP VE FO NX XK WR WS QY UR ZX YL AT UI RH TR AV WS DH WQ PM AK IW OU WT DE IR WX RQ XZ SI GU QN IR XN IR YN IG GY TR ZX YU RU YL IQ YA RU KG QM PD QM IY HA WS FE RW GH RB HA QI QM GI QC QR UL WV AB NX GO HA FR IY QY BM QM YH NG IQ RU YL IQ BL PO QM RU GU IR TX SI GQ LQ DX XO EV BM CR FV GV AB GE RZ GQ YH HA RW YM NE YM BL VW PS.

CHAPTER XXII Highlights of Fractional Substitution

Fractional substitution requires a cipher alphabet of the “multifid” type; that is, one in which the symbols are composed of two or more units, as in the Bacon and Trithemius alphabets (Chapter II: Figs. 3 and 4), the various “checkerboards” (Chapter XI), and so on. Polygram “alphabets” are also of this type, and seriation is a forrn of fractional substitution.

Among the older fractionals, we find a system called the “Pollux,” in which the basis was the Morse telegraphic alphabet. There were three units, the dot, the dash, and a separator (made necessary by the irregular lengths of the substitutes). There was a first substitution in which the letters of the text were replaced with their Morse symbols, including the space. The resulting cryptogram, composed entirely of the units dot, dash, space (. — x), was then subjected to a second substitution, using a small cipher alphabet (either digits or letters) in which each one of the three units might have any one of several different substitutes, chosen at will. For instance, a dot might be replaced with any one of digits 1, 8, 5, 6, a space with any one of digits 3, 9, 0, and a dash with any one of digits 2, 4, 7.

Figure 172

Delastelle's "BIFID" Substitution -(Keyword Feature Added by M. E. OHAVER)

Preparation of Alphabet: Checkerboard Key: Substitutes:

G E N • R A L 1 2 3 4 5 S = 43 B C D F H I K E = 15 M O P Q S T U 1 G B M V E N = 24 V W X Y Z 2 C O W N D D = 25 3 P X F Q Y 4 R H S Z A 5 I T L K U Preliminary Substitution:

S E N D S U P P L I E S T O M O R L E Y S R I G H T A W A Y. 4 1 2 2 4 5 3 3 5 5 1 4 5 2 1 2 4 5 1 3 4 4 5 1 4 5 4 2 4 3 3 5 4 5 3 5 1 1 3 1 5 3 2 2 3 2 1 3 5 5 3 1 1 1 2 2 5 3 5 5

Re-Substitution:

41 22 45 33 54 53 51 35 51 45 21 31 53 22 12 45 13 43 21 35 53 R O A F K L I Y I A C P L O B A M S C Y L

45 14 54 21 11 22 53 43 55 Transmitted: A V K C G O L S U. R O A F K L I Y I A C P L O B, etc.

We find also a number of systems called “Collon” in which the basis is some one of the “checkerboards.” The text is subjected to a simple substitution in the agreed alphabet, and the resulting cryptogram is then subjected to a transposition, usually seriation, this being the final operation.

A similar system called the “Mirabeau” uses an alphabet of the same type as that of the Polybius square, in which only the digits 1-2-3-4-5 are significant. The remaining digits are all null, and numbers like 67 or 88 may be inserted at will. Numbers are written vertically (tens below units); then, in the taking off of the cryptograms, the whole series of units is taken first, and the second half of the cryptogram includes all of the tens-digits. In all of these forms, the undesirable features are self-evident. The later devices have added another operation: the regrouping of the scattered units, and their reconversion into letters.

Classic examples are those described by Delastelle as “bifid” and “trifid” (terms, incidentally, which some of our own writers find objectionable, as they do also the term “multifid”). Delastelle’s “bifid” cipher was of the kind shown in Fig. 172. A two-unit alphabet must be used, and all possible two-unit combinations must be convertible into letters. Any desired seriation-length may be agreed upon, though it should not be divisible by 2. In the figure, the key-word GENERAL, 7 letters, governs the seriation-length as well as the mixing of the key-square, a feature suggested by Ohaver. The substitution is identical with that of the Polybius square, except that the two units of the substitute are written vertically below the original. Digits are then grouped horizontally in pairs, treating one seven-letter group at a time (if the seriation index is 7), and these pairs are replaced with letters from the same key-square. It will be noticed that we have here a form of polygram substitution, in which one seven-letter group has been replaced with another. Also, that possible errors have been confined by the seriation feature to their own seven-letter group.

Figure 173

A Fractional Substitution Based on Morse Symbols - M.E.OHAVER

The Alphabet, Arranged by Group-Lengths:

E . S ... H .... B -... T - U ..- V ...- X -..- R .-. F ..-. C -.-. W .-- ü ..-- Y -.-- I .. D -.. L .-.. Z --.. A .- K -.- ä .-.- Q --.- N -. G --. P .--. ö ---. M -- O --- J .--- ch ----

S E N D S U P ... . -. -.. ... ..- .--. Reverse digits, and re-group: 3 1 2 3 3 3 4 4 3 3 3 2 1 3 .... -.- ... ... .- . --. H K S S A E G

Delastelle’s “trifid” cipher was of the same kind, except that a three-unit alphabet was required, resulting in three rows of units. It would have been the same as that of Fig. 4, Chapter II, but with the French accented E replacing the character &. All combinations of three units must be re-convertible into letters.

Fig. 173 shows a form of “mutilation” cipher once published by Ohaver. Beyond stating that its only key is the group-length (7 in the example), we leave the student to figure it out for himself.

As an example of recent use (1918), we are told on excellent authority that the Germans, for quite a long time during the World War, used a field cipher of the following description: There was a preliminary substitution using a key-square of the Nihilist type, except that the external co-ordinates were letters, and not digits, and were chosen in such a way that the five or six letters used were letters having very distinctive Morse symbols; this was for the avoidance of telegraphic errors. In some cases a 5 x 5 square was used, containing only a 25-letter mixed alphabet, and in others a 6 x 6 square containing a 26-letter mixed alphabet and all of the digits. The preliminary cryptogram obtained from this first encipherment was then written into a transposition block and taken off by columns, using key-word columnar transposition. The cryptograms were not afterward shortened by resubstitution, but were always twice as long as their messages, and never contained any other letters than the five (or six) originally used as co-ordinates. This German Field Cipher proved very effective until finally broken by the great French analytical genius, Georges Painvin.

We shall make no attempt, here, to go into the decryptment of these ciphers. The Delastelle “bifid” is, perhaps, a practical cipher, and the student may try his own hand at analyzing the example. The other examples should give no trouble.

154. By PICCOLA. (Delastelle's "Bifid." - Repeated words: AMERICA(N), ATTEMPT, REPORT, THAT, THE, OF, TO. Other short words: FROM, WITH, BEEN, HAVE. Likely words: REPORT, AGENT, CONFIRM, CABLE, etc).

Q I N H P R M L M G R N B M A H G T O L O O E L O A O D R I N H W R O A A B M M I M M W I B M D A B T H D I L T H T H I N T L A Q M C A M F I V N K Y N O F H B I I T R F Q L A D K V Q I N H P R M R B H S L L U A B M E T S O A A B M M I M M I B P I V R Q F T K H I R D F G N I E M A B E N I L M M P A S I F I O P L Y C C R C I T W I V W M F G I O O S O E R O I K Q I E F O V N V M Q T D R S I O E R I B U Q C D O A L L A P L A A O O C A Q O M E I D C N T I U L O L Z D G.

The mixed alphabet here was placed in the square by straight horizontals. History: Message intercepted following a report that on the tenth of August an attenpt had been made to enter the American embassy in a country where Royalists are opposed to a group of radicals.

155. By PICCOLA. (Fractional. - Not so hard).

3 3 3 2 3 1 1 1 2 3 2 2 1 3 1 1 1 1 3 1 3 3 1 1 3 2 2 1 2 2 1 1 2 3 1 2 3 3 2 1 2 3 3 1 1 3 2 1 1 2 1 2 2 2 3 1 2 2 2 3 1 1 2 2 1 2 3 2 3 2 2 1 2 3 1 3 3 2 3 1 1 2 2 1 3 2 1 2 2 3 2 1 3 1 2 2 2 2 3 2 3 2 2 2 2 3 1 1 1 3 1 2 3 2 1 1 2 2 2 3 2 3 1 3 2 2 2 2 1 2 3 1 2 2 1 2 1 2 2 1 1 2 2 3 2 3 2 2 3 2 2 2 3 2 2 3 3 1 2 2 3 1 2 1 3 1 1 1 1 2 1 3 3 3 3 1 2 3 3 3 2 1 3 3 1 1 1 1 2 2 3 1 1 3 1 1 1 1 1 1 1 1 3 2 2 1 2 3 2 2 2 1 2 1 2 1 2 2 2 3 3 2 2 1 3.

156. By PICCOLA. (Fractional. - Nor is this very hard).

E D C Y B A Z C B Z A V W X C X B A E Y D C B V A E D W B X A E Y Z D A E Z V W D C A E D X C B Y D Y Z V C B W B A Z V E W X B X A E Y D C B V A E W D C X A E Y Z D C E Z V D W C B E D X C B Y A Z D C B V W A A E D C B A E E W D C B X Y D C Y Z B V A B A Z V E W X A E W D C X Y E D Y Z C B V E D C W B A X E D Z V C B A C B V W A X Y X B Y A E D Z E Y Z D V W C W E D X C B A D Y Z V C B A D C W B A X E E D C B A V E D C X Y B Z A E D C B A E W D Y Z C B V A B A Z V E W X E D V W C X Y X D C Y B A Z C Z B A V E W B A E W D X Y E D X Y C Z V V E D W C B A.

CHAPTER XXIII Investigating the Unknown Cipher

When the type of encipherment is unknown, the decryptor’s first problem may concern the probable language used in the plaintext, and this he is usually able to determine from the source and history of the cryptogram.

His second problem is the major classification, and this, too, is usually simple, since transposition, as a rule, can be recognized by its appearance. It must, however, respond to a group-test, and for cases in which this is needed, the approximate percentages for English can be taken as follows:

Vowels, with or without Y, about 40% (Variation limits: 35% to 45%) Consonants L N R S T about 30% (Variation limits: 25% to 35%) Consonants J K Q X Z about 2% (May be influenced by nulls).

The 5% variation is suggested in the Parker Hitt Manual. In this connection, it should be pointed out that an apparent transposition with exactly 40% of vowels and 100% evenness in their distribution is suspicious. Many of the checkerboard systems result in this way, and also some of the codes based on pronounceable five-letter groups. Then, too, it is easily possible to construct a simple substitution cipher alphabet in such a way that the resulting cryptograms will resemble transposition, and even respond satisfactorily to a group-test. It should be carefully ascertained that a supposed transposition cryptogram does not contain the many repeated sequences which belong to simple substitution. As to those transpositions which do show an appreciable number of repeated digrams, they will probably have undergone one of the route transpositions, especially one in which columns were taken off in alternating directions.

* * *

Concerning the characteristics of simple substitution, these have been seen throughout the text; we have normal frequencies attached to the wrong letters, and we have those numerous repetitions of various lengths, occurring at all kinds of intervals, which are never found in a transposition. Here, too, we may apply a group-test, based only on the relative frequencies of letters. The five most frequent are supposed to represent the letters E T A O N or their equivalents, and should total about 45% of the text. The nine most frequent should total about 70%; the eleven most frequent well over 75%; the five of lowest frequency (which would include all of those totally absent) should correspond to the normal behavior of the group J K Q X Z.

* * *

If the simple substitution frequency count is present without the repeated sequences, then we probably have a combination of simple substitution with transposition. It becomes necessary to rewrite the cryptogram into various new arrangements until one is found which will bring back the repeated sequences. Ordinarily, the simplest kinds of transposition will have been used; sometimes the transposition will have taken place in a complete-unit block, and there will be a clue in the total number of letters present in the cryptogram.

* * *

When all letters are present in the frequency count (or all but one or two in the possible cases of 25-letter and 24-letter alphabets), a period-investigation is usually indicated. The case of periodics has been seen at considerable length, though a final hint might be added for the detection of a possible Porta encipherment. One of our many collaborators, F. R. Carter, suggests that any Porta cryptogram, periodic or otherwise, ought to show from 52% to 53% of letters N to Z — the opposite of normal.

The characteristics of digram-encipherment have been mentioned. Other polygram ciphers show corresponding characteristics, according to the polygram length, though the trail grows fainter as polygrams grow longer. A trigram-system, for instance, might be present when the cryptogram is evenly divisible into three-letter groups; it might suggest period 3, and might even show repeated sequences whose length is a multiple of 3 and which begin at serial positions such as 1, 4, 7, 10, which are the beginnings of trigrams. A great many of the trigram systems will show only repeated digrams beginning at these serial positions, or separated by intervals which are divisible by 3.

A 5 x 5 square is often suggested in the fact of a missing letter; but the fact of 26 letters does not deny one, since the careful encipherer may make use of his missing J instead of using I exclusively. Great evenness in frequencies may suggest one of the key-lengthening devices, such as autokey and progressing key; and the practical absence of repeated sequences will usually mean that a transposition has been added to a substitution. It is never a bad idea, in a puzzling example, to make the various digram-counts (in chart form): An actual digram count, in which every letter is considered the beginning of a digram; a pair-count on separated pairs, as in Playfair; the two counts which could be made with the cryptogram marked off into three-letter groups; and the kind of pair-count which could be made in Playfair if the first cryptogram-letter were omitted. Many devices, as mentioned, may be uncovered simply by “running down the alphabet.” And if the cryptogram has come from an amateur “inventor,” it may be a case of digging into one’s memory for previous “inventions.” With this last case, however, the “inventor” very often fails to submit material in proportion to the amount of complication he has introduced.

* * *

Of the examples to follow, there is none in which the system may not be learned through analysis, unless perhaps the final unnumbered cryptogram, and the material, in every case, should be suffcient for solution.

No. 163 follows Mr. Berkley’s encipherment plan, illustrated just above it.

No. 164 is said to have been taken from a German spy serving in the American army in France. This applies, however, to the first fifty groups only; the remainder was added to increase the length and to emphasize the plan followed by the spy.

No. 166 was accompanied by a plot:

“Supposed to have been found on the body of a man floating in San Diego Bay. Autopsy shows death by drowning. Victim was a local banker who had disappeared a few days earlier. Wife says no financial worries. No money missing. Banker had prospered during depression. Was yachting enthusiast. Our hero solved the cipher with the unconscious assistance of a radio crooner. Tragedy occurred in August, 1932.” The date was doubly underscored, but those who have read the message have found no reason for this and no explanation for the “crooner.”

157. By PICCOLA.

C S R Z V Y P Q Z J K H K V Q U U C V M R T W Z N G H Q S A K O X P M H D R W A J D F Q D F S R Z Z C G X P A J J T Z U L H T G S A H X J J L T R N N Z P B Z G R E B N F Y G E J N M T N J J Q H P J X M O B J A L X I A I C P F J O O F R N H.

158. By PICCOLA.

O C E E A T T I T K S N D T D S T H O O Y E A O E E P E B O T Y T A O A D S E O E T F T T T H R V W C T H O Y L T O O H L R B T T U H R R V R A W O B R U A O Y E H H L A B N E R L R K V C R I O N S E I D R U E R I P.

159. By TITOGI.

A H Y N U H C E S T I T N D O R F E H R W E A T F N R F P A O T M A T L H R E I O T N R L O D R H E E A T E S C T D I N W T S T O E A T S I T E C D U T M S O T R L D O N G N I I S O F A E T L I T A S.

160. By PICCOLA. (Veiled reference to crypt No. 166?)

(a) H Z M Q L D N N D Z S P R F S K L L L L. (b) L I L V M S T Z U G D H Z U Q X L L L L. (c) T V I U M F R U O Y U Q Y P S F W X L L. (d) L I L V M F P O E Y Z K F D V U E L L L. (e) G K P V D Z T A Y T B F Y Y C F I U L L. (f) Q B F P W Y C L U D V P Z Z O S W Y N C. (g) Q B R T F F G V T U E N S Z H B Q E R L.

161. By PICCOLA.

E G W G W G E G T U C L C U O X G K Z T E G O B G B Y L W M I Q N K Q Y E N F S C L H M N Y B X S E T N I W O C E G C B F C T C S Z T V G B E A E G T U R K F K B E G K X B C T G Z Y L X C H Y E G C U O X Y T Q F A D Q T T C U N B O G C O H X C E W E C U V E G C O C X Y X G B E A Y T K X F Q C O T B X N E G T U C O N T O P E L E K U V U N T O C N G N G B K W C E E C S Z K W N H E I K C C R E G C T E G T U R K F K T B R G M W X C F G Q N I C E B P E E W E N B K I Y F K F D O F E G N U C B G M T Z T F X C E W E C F V D T T U Z T E N E G W G L F M C T O V L.

162. By PICCOLA.

S P P A S T A S E F U N M T E H S O O A E S L E I C T R C H V U G S E L Y R E M E N E E R O S N E H I R A E T O R N S H M O D R O P E A O R P O S R Y P D O I N O C K G T.

The "NICODEMUS" Cipher (Harold Berkley) SPECIMEN ENCIPHERMENT

Key: M E T H O D I C M E T H O D I C M E T... 6 3 8 4 7 2 5 1 6 3 8 4 7 2 5 1 6 3 8... Cryptogram: T H I S I S E N A N S P O S E D E T C... C I P H E R E D U S I N G T H E PFGVT VUHDG LMRIV I V V I G E N E S A M E K E Y F ZOPUH MMVNB FOUDQ WSURF R E A N D A F T O R B O T H O P BIOTP FGHRU VWHKR RWEVV E R W A R D T R E R A T I O N S WULVA MPGWV MGEAQ CUYHW LBFUT.

163. By PICCOLA.

T Y D Q V W P A Z O M B W B I R K F I O O G W C O G E F L T Q M S R F X T C J C M A W P P Q M E X V O Q C O C Z F S F W V F E V E R S A B E C V J J W S I P P H M M K O X V Y I D B D B C I S Y N L J C Y F K C W E N Z E I T J V L Z M I L I I R W K R O O S Z A W E K J V J G F M Q K G F N C K H P B R D L V I A P E S L V M D J Z Z V F Z F F R D B A D P Q W E N L A L O E K M F M F W X O K D W D G C K K K C Q R V.

164. By VULPUS.

P E N A R C P F T I Q E V A T E N B L A T K Q F O A R E N E U I P E P F U K X I L C N F Q E P C V B T A W A O B N C O E T I N D W B N A R D Q F O F N B V C P E P G V G P A V A P B P F O A O B S C L B V B T F W A N E W B T C S D N F M A N A O E V A R A R C T K Q E N B M B Q F V E V B X K O A P E T B U I P F O F Q E L E O B R D R B Q F U A W A S C U K L F P E W B O C O D N A M E L G V F V A N C N D M F N B V D T D L E P F V I T I Q E Q F O C O A U C L F L A O B M E P E N A S D L B T K L H N E P D. ..... U I L A L B O B M A V K M G U K R F P F U B U D M F W E T A T I Q E V B R C M B W A N F Z I L E N A Q F W B T C R D T B T K O E P E U A V A O F N B S C Z K V B W C U B O A L F O B M E X I T D Q C Q D W A P F Q E N A L A.

165. By PICCOLA. (Again that No. 166?)

R O V L L A B T L D L B C Q M P X L B A F B T C T A T C O R L T O L C R H P D T X L Y O A E L B X P H L X B T X X Q L D R G L T K X R L G D B K L D P P L O H L Y O A E L K O M X B L H O E L V C R R C R J L T K D T L R C I N X P L L L T K X L R C I N X P L V D B L V O R L P O R J L D J O L F Y L I O P O R X P L M D E N X E L K C T T L V K O L O H H X E X G L T O L I O Q M E O Q C B X L H O E L T V O L I X R T B L B C R I X L K X L V D B L D F P X L T O L B X R G L T K X L B O P A T C O R L F Y L E X T A E R L Q D C P L L B T C P P L C T L V O A P G L F X L V O E T K L D R O T K X E L R C I N X P L T O L H C R G L O A T L T K X L N X Y L L T K C B L Q A B T L F X L T K X L X W M P D R D T C O R L O H L T K X L E X H X E X R I X L T O L D L I E O O R X E L D R G L T K X L X Q M K D B C B L O R L D L G D T X L L M L B L T K X L T V O L I X R T B L K D B L R O T L Y X T L F X X R L M D C G L.

166. By CACHE. (Contributor, C. H. Price, died without explaining his key).

03 65 12 45 58 28 06 41 72 14 22 03 02 17 36 88 25 20 55 77 74 51 23 45 41 42 30 24 36 61 96 09 07 78 05 44 08 06 55 92 16 93 02 15 36 37 40 87 41 01 33 77 06 36 27 54 48 29 16 78 92 66 03 10 38 17 45 23 72 96 73 01 49 25 72 38 92 72 24 55 48 08 40 92 28 01 72 96 02 04 74 61 06 99 30 45 72 69 74 93 77 23 55 36 24 93 47 84 76 35 32 89 87 76 77 64 51 96 58 43 76 02 81 38 87 69 89 55 99 23 79 55 51 06 99 71 74 69 89 84 27 25 22 39 42 53 19 93 41 66 09 75 87 37 91 87 90 91 43 19 40 30 38 16 96 22 69 38 78 02 74 92 47 25 77 91 15 40 24 45 07 07 96 48 44 15 12 06 99 44 93 19 25 23 55 30 45 87 96 18 01 78 44 29 45 86 47 69 48 30 66 44 03 41 66 37 38 22 06 42 41. 59.

Here is one which nobody has ever been able to decrypt:

V Q B U P P V S P G G F P N U E D O K D X H E W T I Y C L K X R Z A P V U F S A W E M U X G P N I V Q J M N J J N I Z Y K B P N F R R H T B W W N U Q J A J G J F H A D Q L Q M F L X R G G W U G W V Z G K F B C M P X K E K Q C Q Q L B O D O Q J V E L.