Chapter 21 of 25 · 4749 words · ~24 min read

CHAPTER XIX

Polyalphabetical Encipherment Applied by Groups

Any one of the multiple-alphabet ciphers may change keys at each new group instead of with each consecutive letter. As a rule, this kind of encipherment is never found except in connection with very simple ciphers, and the intact plaintext groups, each one standing on its own key-line, are readily discovered by the decryptor who takes the precaution of cutting out a segment from his cryptogram and “running down the alphabet,” first treating the original letters and then, if necessary, their complements. Porta encipherment, in any form, is rare, but its cryptograms can be subjected to the same process, provided the letters of the tested segment are first enciphered in the _AB_-alphabet, and the subsequent extensions properly carried out.

Figure 149

The "PHILLIPS" Cipher

1 C U L P E* 2 R Z Y X W 2 R Z Y X W 2 R Z Y X W 2 R Z Y X W 1 C U L P E* 3 V T S Q O 3 V T S Q O 3 V T S Q O 3 V T S Q O 1 C U L P E* 4 N M K I H 4 N M K I H 4 N M K I H 4 N M K I H 1 C U L P E* 5 G F D B A 5 G F D B A 5 G F D B A 5 G F D B A

(1) (2) (3) (4) Plaintext: T R Y M A....... C D O N A....... L D O N T....... H A T M U.. CIPHER: K T Q D C....... T X N F R....... I X C F L....... C R K L D..

2 R Z Y X W 3 V T S Q O 3 V T S Q O 3 V T S Q O 3 V T S Q O 2 R Z Y X W** 4 N M K I H 4 N M K I H 4 N M K I H 4 N M K I H 2 R Z Y X W** 5 G F D B A 5 G F D B A 5 G F D B A 5 G F D B A 2 R Z Y X W** 1 C U L P E* 1 C U L P E* 1 C U L P E* 1 C U L P E*

(5) (6) (7) (8) ..... R P H Y P....... R O P O S....... I T I O N....... C U R L Y. ..... T W G Q W....... M R O R X....... W K W N Z....... T S U Q P.

With mixed alphabets of any kind, a number of cases may arise, according to whether groups are of uniform length, or of varying lengths, or, in fact, represent word-lengths; or, in the one case of uniform groups, according to the length of these groups, or the amount of material available, or as to how much is known in advance, and so on. From among so many possibilities, suppose we select the case of accumulated short messages, and, at the same time, take a brief look at a cipher which, according to its description, was actually intended for group-by-group application. This cipher, which may be examined in Fig. 149, was described in an early issue of _The Cryptogram_ as having been used for military purposes, and was called the “Phillips” system. The text of the figure “Try Macdonald on that Murphy proposition. Curly” includes eight five-letter groups, thus requiring eight cipher alphabets. The key, as originally prepared, is a mixed 25-letter alphabet written into a 5 x 5 square, of which the five rows can be cut apart to form five horizontal strips. It may also be set up with anagram blocks. This is alphabet 1 (or block 1), and serves to encipher the first five-letter group. The method of substitution will be explained in a moment. Alphabet 2 (block 2) is derived from the first by moving line 1 so that it stands between lines 2 and 3. Alphabets 3, 4, and 5 are derived by continuing to move the original line 1 so that it stands, successively, between lines 3 and 4, between lines 4 and 5, and at the bottom of the square. Alphabets 6, 7, and 8 are derived by moving the original line 2 according to the same plan. For puzzle purposes, these movements may continue as they apparently began. Line 2 may be given its one remaining shift, which places it at the bottom of the square, and lines 3, 4, and 5 may then be moved downward in the same way as the first two; some puzzlers, in fact, will afterward continue by treating columns. But according to the description (the only one the writer has ever seen of this cipher), the eighth cipher alphabet is the last. For the encipherment of the next eight groups, either the square is restored to its original set-up and the same eight alphabets used again, or the first key is abandoned altogether in favor of an entirely new one.

Now, considering any one block, as No. 1, the method of substitution is as follows: Each letter is to be replaced by the one standing immediately to its right on the descending diagonal. If the given letter happens to stand at the extreme right side of the square, it is to be replaced by one standing at the extreme left and on the next line below. If it happens to stand on the bottom row of the square, it is to be replaced by one standing on the top row and in the next column to the right. One letter, in fact, requires both of these (mental) adjustments; the letter which occupies the lower right-hand corner is to be replaced by the one occupying the upper left-hand corner. If the foregoing is well understood, is is quite obvious that our key-square is, to all intents and purposes, a rhombus formed with five diagonals. One diagonal is complete, as _C Z S I A_ of block 1. The other four break off at the right and are continued from the left, as _L X O N F_ of block 1; or, if you prefer, break off at the bottom and are continued from the top, as _N F L X O_ of block 1. It should be obvious, also, that any one of these five diagonals can be considered as beginning with any one of its five letters without in the least changing the encipherment. Thus, each diagonal furnishes what is called _cyclical encipherment_. But, as a matter of fact, the entire square involves cyclical encipherment: The placing of line 1 at the bottom of the square, or of column 1 on the right side of the square, or the transfer of several lines or columns, or of both, will not have any influence whatever on substitutes; for this, it is necessary to alter the 1-2-3-4-5 order of these rows or columns. Alphabet 5, then, will be the same as alphabet 1; and if the plan of the puzzlers be followed, this same alphabet continues to reappear for the encipherment of each fourth group, blocks 1, 5, 9, 13, 17, and so on, of a long cryptogram, eventually giving a great deal of material in one cipher alphabet. Moreover, groups having a length of five letters will carry some very visible simple substitution patterns. Now suppose we look at Fig. 150.

These eight cryptograms have all come from one source. The general frequency count has shown a missing letter, _J_, suggesting the use of a square, and we have suspected the cipher as “Phillips.” With cryptograms arranged one below another, as shown, the first five columns are presumably enciphered with block 1 of that cipher, the next five columns with block 2, and so on; thus, we presumably have 40 letters each belonging to alphabets 1, 2, and 3, and almost that number belonging to alphabet 4, that is, enough material for frequency counts which will show whether or not they have been taken on simple substitution alphabets. While 40 letters of text are very few, we could, eventually, solve any simple substitution cryptogram of that length, or any mixed-alphabet periodic whose alphabets have furnished 40 letters each. In the present case, our first alphabet has furnished eight known word-beginnings; we have one column known to contain only initials, and followed by two others which are very likely to be the hiding-place of vowels. This does not mean that we should have no preliminary struggles, but in the end there are plenty of clues to set us on the right road: The predominant letters of alphabet 1 are _A_, _B_, _O_, _K_, _U_ (practically sure to contain _e_, _t_, and one of the vowels _a_ or _o_). The column of initials repeats both _A_ and _T_ (to be compared against a list _t s a_. . . .). The second and third columns, combined, include _B_ and _O_, three times each, with _O_ found in the initial column also (both could be vowels, and _O_ probably represents _a_, though _i_ is also frequently found as an initial). If _A_, by frequency and initial position, be tried as _t,_ then the other repeated initial, _T_, can be tried as _s_. This assumption brings out, in the fourth message, a pattern _s_ - _t_ _t_ -, in which the second letter, _B_, would have to be a vowel, either _e_ or _o_, since it has been doubled, with _e_ appearing more likely in the given pattern and also in that of the sixth message, _s_ - - - _s_. The letter _O_, which under the encipherment scheme could not possibly be its own substitute, can be assumed, by frequency, as _a_, rather than _i_.

Figure 150

1. A F S X O S G Y F O N P Y O A K O A D G F Z K S Z O Y Z Y L A W A C F.

2. H O U A L H L E D H D L Y G A V D W A K.

3. K O N B K A X U O N H I Q P L B A Z F F S Y F D R R L Y F.

4. T B A A M A F Q E Z U M A I X G F S K B.

5. D K O A C Y B Y E N I M O W D L E G A D O H C Y U U R G.

6. T B B X T O M M D A S I A A Y D Z.

7. O U S U B U L O I Y G A K X M A K W E L.

8. A K R U W A N A L O N N F M S K A X E U.

General Frequency Count:

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

Frequency Count on Alphabet 1, Only:

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

These first correct substitutions are all shown on the left side of Fig. 151, on the lines marked (a). Surely the next identification would be the _m_ of _seems_, and probably, too, the _l_ of _settl_. . . With the vowel _a_ already identified, the repeated _OU_ would be tried as _an_, and the repeated _KO_ as _ha_, using the digram list. These are the substitutions marked (b), and from this it is but a step to the assumptions marked (c). On the right side of this figure, we are proceeding into alphabet 2. A frequency count here has shown that the leading letters of this alphabet are _A_, _O_, _Y_, two of which, _A_ and _O_, were also leaders in alphabet 1. It is one peculiarity of the “Phillips” cipher that a change in alphabets means a change in only fifteen of the substitutes, the remaining ten continuing to represent the same originals as in the preceding alphabet. Concerning _A_, we can see, from the third and fourth messages, that it has not continued to represent _t_; but _O_, in the sixth message, has rather suggested the word _all_ and even the expression _all right_, which would carry us on into the third alphabet. From this point onward, then, we are in the same fortunate position as the decryptor who intercepts his message partly in cipher and partly in plaintext. With the context as a guide, we need not worry as to what happens at the ninth group.

Figure 151

First Alphabet Second Alphabet

1. A F S X O S G Y F O ... (a) t . . . a . . . n a (b) t . . m a . . o n a (c) t r y m a . . o n a (Try ma...)

2. H O U A L H L E D H ... (a) . a . t . . . . . . (b) . a n t . . s u r . (c) c a n t . e s u r e (Can't be sure...)

3. K O N B K A X U O N ... (a) . a . e . i . . a . (b) h a . e h i m . a t (c) h a v e h i m . a t (Have him ...)

4. T B A A M A F Q E Z ... (a) s e t t . i . g . a (b) s e t t l i n g u . (c) s e t t l i n g u p (Settling up ...)

5. D K O A C Y B Y E N ... (a) . . a t . . . . . . (b) . h a t . o y o u t (c) w h a t . o y o u t (What do you t...)

6. T B B X T O M M D A ... (a) s e e . s a l l . i (b) s e e m s a l l r i (c) s e e m s a l l r i (Seems all ri...)

7. O U S U B U L O I Y ... (a) a . . . e . . a . . (b) a n . n e . s a . o (c) a n y n e w s a . o (Any news abo...)

8. A K R U W A N A L O ... (a) t . . . . i . i . a (b) t h . n . i t i s a (c) t h i n k i t i s a (Think it is a...)

Frequency Count on Alphabet 2, Only:

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

Presumably, during all of this time, we have been recording substitutes in a key-frame. We have recovered fifteen of these in alphabet 1, and also a number in alphabet 2. Those recovered from alphabet 1 are shown at the top of Fig. 152. _O_ is the substitute for _a_, _A_ is the substitute for _t_, _T_ is the substitute for _s_, and _S_ is the substitute for _y_. Thus, if the cipher is “Phillips,” then, in the original key-square, the two letters _A O_ were consecutive on one of the diagonals, the two letters _T A_ were consecutive, the two letters _S T_, and the two letters _Y S_, so that the complete diagonal must have been _Y S T A O_, and even though the letter _o_ was not used at all in alphabet 1, we know that its substitute must have been _Y_, since these diagonals may be considered to begin with any one of the five letters. By beginning at _c_-_H_, and following out another such chain, we may find another complete diagonal, _C H K W D_; and, in addition, we may find parts of diagonals. All of these are shown at (b).

Figure 152

An Alphabet No. 1 - Taken from a Key-Frame:

Plaintext: a b c d e f g h i . k l m n o p q r s t u v w x y z SUBSTITUTES: O . H . B . . K R . W M X U . . . F T A . N D . S .

(a) A T S Y Y O A T S S T A (b) O *Y C E I L *V S H B R M N T K F *X U A *W O D

(c) (d) (e)

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

Whether or not we can go further than this, without consulting other cipher alphabets, depends upon whether or not the original key-square contained some of those alphabetical, or nearly alphabetical, sequences which so often betray the poorly-mixed alphabet; usually, these are most easily found toward the _X Y Z_ end of the normal alphabet. In the given case (b), we are able to find the letters _V_, _W_, _X_, and _Y_, each standing on a separate diagonal; thus, by readjusting the beginning-points of their diagonals so as to place these letters at the bottom, we are able to set together four of these diagonals in the order shown at (c), leaving only the part-diagonals _E B_ and _I R F_ still to be added. Their length will show that _I R F_ belongs to the missing diagonal, but _E B_, by its length, could belong to any one of three diagonals. Further developments can be carried out with the rhomboid adjustment of (c), or, if this is confusing, the conversion to a square can be made immediately. The student may decide for himself which he prefers of the two developments marked (d) and (e). Notice that this restoration of the key-square can take place not only from a single alphabet, but with only 15 substitutes known in that alphabet. But without the aid of alphabetical sequences, we must, in the first place, have 20 substitutes, four for each diagonal, in order to recover the full diagonals, after which, each one is entirely independent of the other four, so that they cannot be adjusted and combined without consulting one or more of the other alphabets. Here, the method varies a little, according to just what we can recover, though a hasty glance at the perfect case will serve to show the general path for all. To see this as rapidly as possible, we will assume that we have recovered from alphabet 1 the full five diagonals, and that, in alphabets 2, 3, and 4, we have discovered the substitutes for _e_, and also the originals for which _E_ has been the substitute.

A careful consideration of the cipher itself will show that no letter can have more than four different substitutes: the four letters in the next column to its right which are not on the same line with itself. Also, that no letter may act for more than four different originals: the four letters in the next column to its left which are not on the same line with itself. Any letter, in order to take all four substitutes and act for all four originals in four successive alphabets, must have started on the top line, which is the moving one.

Figure 153

Five Complete Diagonals Recovered From Any Alphabet No.1

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

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

Now, considering Fig. 153: Our five recovered diagonals are imagined to be those of a well-mixed square, so that we have no discoverable sequences. It has been found that the letter _e_, in alphabets 1, 2, 3, and 4, has taken, successively, the substitutes _B_, _H_, _Q_, and _Z_, and that the cipher-letter _E_ has served, successively, as the substitute for _x_, _u_, _f_, and _o_. The four letters _B H Q Z_, then, must all have stood in a single column _in exactly the order named_; and the four letters _X U F O_ must have stood in another column, two positions to the left of the first, but with a minor difference in the order: some other letter (the one on the same line as _E_) must have intervened between _X_ and _U_. The order in this column, then, must have been _U F O X_. Our first step toward combining the five diagonals is that of adjusting four of them so as to set up the column _B H Q Z_. This automatically sets up four letters of the other column _U F * X_ (_D_) — in the figure, the _X D_ is present, but has not been adjusted to the _U F_ * — after which, the fifth diagonal can be added to the others by placing the _O_ of the column _U F O X_ (_D_). Now, since the letter _E_ has taken, successively, all four of its substitutes and all four of its originals, it must, in alphabet 1, have been standing on the top row. Two parallel lines (if desired) can be ruled across the set-up to show the top and bottom of the square, and two others (placed anywhere, so long as they mark a width of five columns) may be ruled to show the two sides. The outside letters, _Y_, _V_, and _D_, may all be transferred to the opposite ends of their diagonals, after which the rhomboid is easily adjusted to the form of a square.

It will be seen from what precedes that group-by-group encipherment offers little, if anything, that is new, and no problems or theories which the student could not figure out with what he has learned of substitutions. Solving the actual cryptograms, of course, could present some difficulties, according to the individual case.

Of the practice cryptograms to follow, No. 140 follows the plan of the puzzlers, and should not prove very difficult in spite of its brevity. No. 141 is also a “Phillips,” while No. 142 has been enciphered with a mixed-alphabet slide applied to five-letter groups.

140. By NEMO. ("Phillips." Probable word: ASSOCIATION)

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

141. By PICCOLA. (This is the real McCoy - in 1938. But times change).

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

142. By PICCOLA. (Direct examination - Snowball vs. Snowball).

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

143. By PICCOLA. (Can you guess what cipher? "Foregoing" refers to No. 141).

R N N G T R I O O H E I T T A F N D E N O G E L G E Y F I R D A I S E.