WeRead Powered by ReaderPub
Elementary cryptanalysis cover

Elementary cryptanalysis

Chapter 21: CHAPTER XIX Polyalphabetical Encipherment Applied by Groups
Open in WeRead

Explore more books like this:

About This Book

A practical instructional treatment of classical cryptanalysis that concentrates on techniques for analyzing and solving encrypted messages rather than codes or chemical and mechanical devices. It surveys concealment methods, transposition and geometrical systems, irregular and columnar types, single- and polyalphabetic substitution (including Vigenère, Gronsfeld, Beaufort, and Playfair), periodic-cipher analysis such as the Kasiski method, auto-encipherment, and approaches for attacking unknown ciphers. Each topic is presented with explanatory discussion, worked examples, and practice cryptograms, while appendices provide frequency tables, digram/trigram data, common-word lists, charts, and a bibliography to support statistical and linguistic decryptment methods.

135.  By NEMO.   (Type II.  Partial solution: WHEN JACK BOOMER,GREEN RIVER,WYO,B..)
T E R P J   Y D B N Q   S A I M B   X B L Y M   D O B I T   Z P T I H   K O K A G
M Y Q R X   T D W U U   X B O B Q   Y D B W Z   S V Z G C   U P R Z S   W V O D M
T Q Z C A   T S M Y Q   F D B H Z   Q U T I H   F S V S Y   N F U L Z   G L B G D
M T R M U   C N A J M   I Y N Q O   F B D P Q   L G X U Y   W U I P C   A Y N J N
X S B K W   I J G R L   G I B.

136.  By NEMO. (Type III. Partial solution: ALOIS STEPHEN,YOUNG VIENNESE CHARGED W..)
H G K S T   I L O Y D   B O L E G   A Z N G P   D U W P B   D R V Z Q   Y Z X F L
Q S B H S   L T U Q P   S Z G X V   A Y T G B   C B X K H   U R I E D   M D X B T
O E P S A   R I N K X   K J B I T   P Y I X R   I U Z Y O   M I M H P   H B E J D
N E B S E   F L B F D   B H F J B   F N L G P   L J M I B   O G T A W   D U E Q E
Z T Y U S   I.

137.  By THE SQUIRE.  (Type III.  Probable words:  AMERICAN CONSTITUTION.  GLADSTONE).

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

138.  By ALII KIONA.  (Is this a diplomatic telegram?)
L L D R K   Y C R F A   S E V S U   K T D U L   X V K E V   C A B L Y   U P Y M R
K B E X U   B T E L W   P J F P T   I I U Q Q   K T F C T   P S K Q L   W N D A P
B F A E S   N M P R K   A P T T S   H F K B Z   R M G P P   Y V M S A   I F N P Z
A L T S U   S A U D N   L X A A Z   Y P U C H   K N P Y V   M S I A X   K K D B E
T P S A T   P K P S Y   V T A Y E   A P B T E   L W P J F   P T A X N.

139.  By PICCOLA.  (This is a straight-alphabet cipher.  Won't tell which one!)
A N D N Y   L M Y X N   K D L R P   G C X G Q   N A A R Z   L D E P L   G I A W Q
N E I O G   A G P Q G   Z V D E I   E Z R H A   Y P L B P   N A G E L   N V A G T
D H O K H   V G T I N   D O L S F   C P L R T.

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

                                  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 . .

not possibly be its own substitute, can be assumed, by frequency, as a, rather than i.

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.

Presumably, during all of this time, we have been recording substitutes in a

             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

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).

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

                             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 .

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.

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

                          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



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

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.

CHAPTER XX
Vigenère with Key-Progression

Before leaving the study of multiple-alphabet ciphers, we will consider briefly the process which, in its simplest form, would be that shown in Fig. 154. The initial key, in each of three examples, is A, and a long key has been formed by causing the initial one to progress in the normal alphabet according to an agreed index. In the first example, the progression index is 1, in the second, it is 2, and in the third, it is 25 (or minus 1). The resulting long key will govern a period, which is 26 or 13, according to whether the progression index is odd or even. This encipherment,

                               Figure 154
                        Forms of Key-Progression
Keys:      A B C D E F G...      A C E G I K M...       A Z Y X W V U...
           S E N D...            S E N D...             S E N D...
           S F P G...            S G R J...             S D L A...

This type of key-progression can be decrypted by "running down the
alphabet," and watching the diagonals for plaintext.

logically, would be applied with a cipher disk. The initial key, as A of the examples, would indicate the starting position of the revolving disk, the first letter being enciphered with the disk in this initial position, after which the disk is made to revolve, so many angles at a time, without further reference to key-letters. For this kind of cryptogram, the solution is purely mechanical. A series of alphabets may be extended, with each cryptogram letter as a beginning, and the message can be found following a diagonal path in the resulting set-up.

A much commoner scheme, when using a cipher disk, is that of following a series of irregular shifts in accordance with a numerical key. If, for instance, the initial

                               Figure 155
Progressing Key:       C U L P E P E R   D V M Q F Q F S   E W N R ...
Plaintext:             T H E R E I S O   T H E R C A U S   E F O R ...
Partial Encipherment:  V B P G . . . .   W C Q H . . . .   . . . I ...

position has been established and the first letter enciphered in that position, and if the numerical key is 3-5-2-1-6, the disk will now be revolved 3 positions for encipherment of the second letter, 5 positions for encipherment of the third letter, 2 positions for encipherment of the fourth letter, and so on, so that the disk must move 17 positions during encipherment of five letters. This can produce a very long period indeed, especially when the collective shifts result in an odd number.

Substantially the same encipherment as the foregoing can be had with a slide and a key-word, as indicated in Fig. 155. The progression index, in this figure, is 1. The preliminary key-word, CULPEPER, enciphers the first eight letters, then moves forward in the alphabet and becomes D V M Q F Q F S for the encipherment of the next eight, E W N R G R G T for the encipherment of the third eight, and so on. In its practical application, one column could be taken at a time. Notice, however, in Fig. 156, that when a key-letter progresses in the alphabet, the possible substitutes for any one letter will also progress, and to exactly the same extent. If the encipherment is Vigenère or Beaufort proper, this progression is in the same alphabetical direction as that of key-letters, while the variant encipherment causes the substitutes to progress in the contrary direction. Probably, then, the

                                Figure 156
Vigenère and Beaufort Progression                Variant Progression
Progressing Key:   A B C D E.....        Progressing Key:   A B C D E.....
Plaintext letter:  H H H H H.....        Plaintext Letter:  H H H H H.....
Cipher letter (V)  H I J K L.....(B)  T U V W X.....        Cipher letter:     H G F E D.....
 

most convenient method of application, and the one least likely to result in errors, would be that of Fig. 157. The cryptogram is first enciphered as an ordinary periodic, and the progression is added later, using group-by-group encipherment. Thus, as we receive the cryptogram, our repeated ther has been enciphered once as V B P G, again as W C Q H, and possibly, later on, as A G U L, and the only period we shall be able to find, using the regular methods, will be 26 x 8, or, if the progression index is an even number, 13 x 8. But notice, in the same figure, comparisons (a) and (b).

Vigenère, it will be remembered, has been compared to the mathematical process of addition. If the key-digram CU be added to the plaintext digram TH, their sum is the cipher-digram VB. The alphabetical distance from C to U is 18, the alphabetical distance TH is 14, and the alphabetical distance VB is 6 or could be 26 plus 6, 52 plus 6, and so on. It is a fact that when we “add” the two digrams CU and TH, we actually do add their separating intervals, 18 and 14, since we obtain a sum 32 in that of the cipher digram VB. It is also an easily verified fact that the same reasoning applies to the subtractions of the two Beauforts. The student who cares to investigate may make use of the tableau shown as Fig. 158; to find quickly the distance from one letter to another, find the first of these at the left, the second at the top, and the alphabetical interval between the two is shown in the cell of intersection. If it is desired to know the reverse interval, find the first letter at the top and the second at the side. Now notice, carefully, that when any digram progresses in the alphabet, as CU would become DV, EW, FX, and so on, in a series of periods, it does not change its alphabetical interval; in all of these digrams, the distance apart of the two component letters is still 18. Thus, while our period vanishes, the alphabetical intervals which represent it are still present in the cryptogram; we have only to find these intervals, subject them to a Kasiski examination, and convert the cryptogram to an ordinary Vigenère.

Fig. 159 shows the preparation of the cryptogram: The alphabetical interval

                                  Figure 157
Initial Key-word:      C U L P E P E R   C U L P E P E R   C U L P E P E R
Plaintext:             T H E R E I S O   T H E R C A U S   E F O R T H I N...
PRIMARY Cryptogram:    V B P G I X W F   V B P G G P Y J   G Z Z G X W M E...

Progression Key:       A                 B                 CFINAL Cryptogram:      V B P G I X W F   W C Q H H Q Z K   I B B I Z Y N G...

      (a)
         C U  (key)     plus    T H  (plaintext)  equals   V B  (cipher).
      (b)
         Interval 18    plus    interval 14       equals  (32 less 26) = 6

                                      Figure 158
                      Tableau for Finding ALPHABETICAL INTERVALS

    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

A   0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25   A
B  25  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24   B
C  24 25  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23   C
D  23 24 25  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22   D
E  22 23 24 25  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21   E
F  21 22 23 24 25  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20   F
G  20 21 22 23 24 25  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19   G
H  19 20 21 22 23 24 25  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18   H
I  18 19 20 21 22 23 24 25  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17   I
J  17 18 19 20 21 22 23 24 25  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16   J
K  16 17 18 19 20 21 22 23 24 25  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15   K
L  15 16 17 18 19 20 21 22 23 24 25  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14   L
M  14 15 16 17 18 19 20 21 22 23 24 25  0  1  2  3  4  5  6  7  8  9 10 11 12 13   M
N  13 14 15 16 17 18 19 20 21 22 23 24 25  0  1  2  3  4  5  6  7  8  9 10 11 12   N
O  12 13 14 15 16 17 18 19 20 21 22 23 24 25  0  1  2  3  4  5  6  7  8  9 10 11   O
P  11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  0  1  2  3  4  5  6  7  8  9 10   P
Q  10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  0  1  2  3  4  5  6  7  8  9   Q
R   9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  0  1  2  3  4  5  6  7  8   R
S   8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  0  1  2  3  4  5  6  7   S
T   7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  0  1  2  3  4  5  6   T
U   6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  0  1  2  3  4  5   U
V   5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  0  1  2  3  4   V
W   4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  0  1  2  3   W
X   3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  0  1  2   X
Y   2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  0  1   Y
Z   1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  0   Z

    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

from K to O is 4, that from O to S is 4, that from S to X is 5, and so on. If these numbers are placed directly below the first letter, as shown, the computation of their lineal intervals apart is less confusing than when they are placed between the two. As to repetitions, each repeated single number may represent a repeated digram, each repeated sequence of two numbers may represent a repeated trigram, and so on. Only the longer of these possibilities have been underscored.

                                     Figure 159
                 (5)                 (10)                (15)                (20)
  K   O   S   X   M   Y   M   M   Q   Y   T   K   N   G   Z   W   L   T   Z   L
  4   4   5  15  12 14   0   4   8  21  17   3  19 19  23  15   8   6  12  22

                 (25)                (30)                (35)                (40)
  H   C   G   F   A   P   J   Y   K   W   A   T   Z   P   Q   X   U   J   Z   P
21   4  25  21  15 20  15  12 12   4  19   6  16   1   23 15 16  16   6
                 (45)                (50)                (55)                (60)
  V   C   Z   Q   A   R   F   P   V   Y   U   Y   C   R   C   X   M   X   G   I
  7  23 17  10 17 14  10   6   3  22   4   4 15  11 21  15 11   9   2  21  
                 (65)                (70)                (75)                (80)
  D   U   X   Q   Y   M   T   E   V   V   S   C   X   J   L   J   D   A   E   Y
17   3  19   8  14   7  11  17   0  23  10  21  12   2  24  20  23   4  20   4

                 (85)                (90)                (95)               (100)
  C   S   F   P   J   W   F   V   J   V   Q   V   E   G   A   N   G   K   B   B
16 13  10  20  13   9  16 14  12  21   5   9   2 20  13 19   4  17   0 17  
                (105)               (110)               (115)               (120)
  S   C   P   Z   B   H   G   I   D   Z   J   A   N   Z   I   Y   E   Z   P   T
10  13  10   2   6  25   2  21 22  10  17 13  12   16   6 21  16   4   -

                                   Figure 160
Repeated Intervals       Lineal Interval              Possible Factors        
4-4        KOS-UYC        51 -  1 = 50      2        5          10
15-12      XMY-JYK        27 -  4 = 23     
21-17-3-19 YTKNG-IDUXQ    60 - 10 = 50      2        5          10
23-15      ZWL-XUJ        36 - 15 = 21         3           7
21-15      FAP-CXM        55 - 24 = 31     
7-23       QXU-VCZ        41 - 35 =  6      2  3        6
16-6       ZPV-IYE       115 - 39 = 76      2     4                         19
17-10      ZQA-BSC       100 - 43 = 57         3                            19
10-17      QAR-ZJA       110 - 44 = 66      2  3        6          11
15-11      CRC-XMX        56 - 53 =  3         3
9-2        XGI-VEG        92 - 58 = 34      2                            17
2-21       GID-GID       107 - 59 = 48      2  3  4     6     8       12
17-0       EVV-KBB        98 - 68 = 30      2  3     5  6       10
13-10      SFP-CPZ       102 - 82 = 20      2     4  5          10
20-13      PJW-GAN        94 - 84 = 10      2        5          10
9-16       WFV-ZIY       114 - 86 = 28      2     4        7

Fig. 160 shows the application of a modified Kasiski examination. Notice the prominence of small factors 2 and 3, caused, often, by repeated alphabetical intervals in the key itself. In the given case, the period 10 would probably be the choice, though period 5 is correct; in practice, we should probably consider possible digrams as well as longer sequences. Accepting period 10, we have still to learn the progression index, and for this we must consider letters, all of which are shown in the second column of the same figure. Taking the longest repetition, most likely to be reliable, the two first letters are Y and I; their alphabetical distance apart is 10, and their lineal distance apart in the cryptogram is 50. If the accepted period, 10, is correct, it has taken five periods to produce the alphabetical shift of 10, therefore the shift per period (the progression index) is 10 divided by 5; or 2. This, of course, has taken for granted that the encipherment is either Vigenère or Beaufort. Considered as a possible variant Beaufort, where the progression

          Figure 161                                   Figure 162
K4 O4 S5 X15M12Y14M0 M4 Q8 Y21              (A)   K  O  S  X  M  Y  M  M  Q  Y

T17K3 N19G19Z23W15L8 T6 Z12L22  (2)         (C)   R  I  L  E  X  U  J  R  X  J

H21C4 G25F21A15P20J15Y12K12W4   (4)         (E)   D  Y  C  B  W  L  F  U  G  S

A19T6 Z16P1 Q7 X23U15J16Z16P6   (6)         (G)   U  N  T  J  K  R  O  D  T  J

V7 C23Z17Q10A17R14F10P6 V3 Y22  (8)         (I)   N  U  R  I  S  J  X  H  N  Q

U4 Y4 C15R11C21X15M11X9 G2 I21 (10)         (K)   K  O  S  H  S  N  C  N  W  Y

D17U3 X19Q8 Y14M7 T11E17V0 V23 (12)         (M)   R  I  L  E  M  A  H  S  J  J

S10C21X12J2 L24J20D23A4 E20Y4 (14)         (O)   E  O  J  V  X  V  P  M  Q  K

C16S13F10P20J13W9 F16V14J12V21 (16)         (Q)   M  C  P  Z  T  G  P  F  T  F

Q5 V9 E2 G20A13N19G4 K17B0 B17 (18)         (S)   Y  D  M  O  I  V  O  S  J  J

S10C13P10Z2 B6 H25G2 I21D22Z10 (20)         (U)   Y  I  V  F  H  N  M  O  J  F

J17A13N12Z9 I16Y6 E21Z16P4 T- (22)         (W)   N  E  R  D  M  C  I  D  T  X

is backward, the alphabetical interval from Y to I is 16, which is not divisible by 5, the number of periods. But this progression might have covered the entire alphabet and then included 16, or it might have covered the alphabet twice, and so on, before including 16. We must make it divisible by 5, adding 26, then another 26, and so on, until we obtain a total progression of 120. This, divided by 5, gives the progression index as “minus 24” — the same as a normal progression of 2. In Fig. 161, the cryptogram has been re-written into the accepted period 10, and the figures in parentheses at the right of each group will indicate the amount of alphabetical shift when the progression index is 2. A constant progression of 2 per group would correspond to the application of a Vigenère key A C E G. . . . . , so that the Saint-Cyr slide will serve for quickly converting the cryptogram to its

                              Figure 163
                   MATHEMATICAL FORMULA - C. H. PRICE

                           X =   AD  x  P                                      LD
              P = Period                   AD = Alphabetical Distance
              X = Progression Index        LD = Lineal Distance


As Applied to the Supposed Repeated Trigram  KOS-UYC, Positions 1, 51:

                           X =  10 P  =   P                                  50         5

              BUT:  P and X must be integers      • •  If P = 5, then X = 1
              (and  P must be a divisor of 50)     •   If P = 10, then X = 2
              (Periods of 25, 50, are unlikely)

periodic form, and this is shown in Fig. 162. The period, as mentioned, is actually 5, though this makes no difference in the final results.

For those who like mathematics, Fig. 163 shows a method used by one of our collaborators for determining both the period and the progression index directly from the cryptogram. Price also preferred to find alphabetical intervals by writing the normal alphabet into a block, five letters to the line, with Z standing alone on the last line; thus, except for watching Z occasionally, the distance from one letter to another could be counted by fives. It is understood, of course, that we do not accept the evidence obtained from only one of the supposed repeated sequences; too many of these will be accidental, and many of those which are actually periodic have not represented repeated digrams, but merely repeated intervals. Naturally, too, the progression index need not be a small number; the disk encipherment, mentioned in the beginning, showed a progression of 17 for each period 5. This disk encipherment, incidentally, has been dealt with in a most interesting manner in Givierge’s Cours de cryptographie.

 

We have seen, then, all of the essentials of polyalphabetical encipherment. With the cipher alphabets known to the decryptor, practically all of the multiple-alphabet ciphers will be solved by suitable modifications of processes described for Vigenère. When alphabets are not known, his problem, always, is that of collecting as many as possible of the substitutes belonging to each alphabet, so that he may determine both the order of the letters and the relationship of alphabets to one another.