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

Library › Cryptography, blockchain and crypto › Manual for the Solution of Military Ciphers › Full text

Manual for the Solution of Military Ciphers

Parker Hitt · part 1 of 5 · 30,742 words

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

About this book, its key ideas and how to read it →

Manual for the Solution of Military Ciphers

BY PARKER HITT Captain of Infantry, United States Army

Introduction

The history of war teems with occasions where the interception of dispatches and orders written in plain language has resulted in defeat and disaster for the force whose intentions thus became known at once to the enemy. For this reason, prudent generals have used cipher and code messages from time immemorial. The necessity for exact expression of ideas practically excludes the use of codes for military work although it is possible that a special tactical code might be useful for preparation of tactical orders.

It is necessary therefore to fall back on ciphers for general military work if secrecy of communication is to be fairly well assured. It may as well be stated here that no practicable military cipher is mathematically indecipherable if intercepted; the most that can be expected is to delay for a longer or shorter time the deciphering of the message by the interceptor.

The capture of messengers is no longer the only means available to the enemy for gaining information as to the plans of a commander. All radio messages sent out can be copied at hostile stations within radio range. If the enemy can get a fine wire within one hundred feet of a buzzer line or within thirty feet of a telegraph line, the message can be copied by induction. Messages passing over commercial telegraph lines, and even over military lines, can be copied by spies in the offices. On telegraph lines of a permanent nature it is possible to install high speed automatic sending and receiving machines and thus prevent surreptitious copying of messages, but nothing but a secure cipher will serve with other means of communication.

It is not alone the body of the message which should be in cipher. It is equally important that, during transmission, the preamble, place from, date, address and signature be enciphered; but this should be done by the sending operator and these parts must, of course, be deciphered by the receiving operator before delivery. A special operators' cipher should be used for this purpose but it is difficult to prescribe one that would be simple enough for the average operator, fast and yet reasonably safe. Some form of rotary cipher machine would seem to be best suited for this special purpose.

It is unnecessary to point out that a cipher which can be deciphered by the enemy in a few hours is worse than useless. It requires a surprisingly long time to encipher and decipher a message, using even the simplest kind of cipher, and errors in transmission of cipher matter by wire or radio are unfortunately too common.

Kerckhoffs has stated that a military cipher should fulfill the following requirements:

1st. The system should be materially, if not mathematically, indecipherable. 2d. It should cause no inconvenience if the apparatus and methods fall into the hands of the enemy. 3d. The key should be such that it could be communicated and remembered without the necessity of written notes and should be changeable at the will of the correspondents. 4th. The system should be applicable to telegraphic correspondence. 5th. The apparatus should be easily carried and a single person should be able to operate it. 6th. Finally, in view of the circumstances under which it must be used, the system should be an easy one to operate, demanding neither mental strain nor knowledge of a long series of rules.

A brief consideration of these six conditions must lead to the conclusion that there is no perfect military cipher. The first requirement is the one most often overlooked by those prescribing the use of any given cipher and, even if not overlooked, the indecipherability of any cipher likely to be used for military purposes is usually vastly overestimated by those prescribing the use of it.

If this were not true, there would have been neither material for, nor purpose in, the preparation of these notes. Of the hundreds of actual cipher messages examined by the writer, at least nine-tenths have been solved by the methods to be set forth. These messages were prepared by the methods in use by the United States Army, the various Mexican armies and their secret agents, and by other methods in common use. The usual failure has been with very short messages. Foreign works consulted lead to the belief that many European powers have used, for military purposes, cipher methods which vary from an extreme simplicity to a complexity which is more apparent than real. What effect recent events have had on this matter remains to be seen. It is enough that the cipher experts of practically every European country have appealed to the military authorities of their respective countries time and again to do away with these useless ciphers and to adopt something which offers more security, even at the expense of other considerations.

The cipher of the amateur, or of the non-expert who makes one up for some special purpose, is almost sure to fall into one of the classes whose solution is an easy matter. The human mind works along the same lines, in spite of an attempt at originality on the part of the individual, and this is particularly true of cipher work because there are so few sources of information available. In other words, the average man, when he sits down to evolve a cipher, has nothing to improve upon; he invents and there is no one to tell him that his invention is, in principle, hundreds of years old. The ciphers of the Abbé Tritheme, 1499, are the basis of most of the modern substitution ciphers.

In view of these facts, no message should be considered indecipherable. Very short messages are often very difficult and may easily be entirely beyond the possibility of analysis and solution, but it is surprising what can be done, at times, with a message of only a few words.

In the event of active operations, cipher experts will be in demand at once. Like all other experts, the cipher expert is not born or made in a day; and it is only constant work with ciphers, combined with a thorough knowledge of their underlying principles, that will make one worthy of the name.

Chapter I

Equipment for Cipher Work

Success in dealing with unknown ciphers is measured by these four things in the order named; perseverance, careful methods of analysis, intuition, luck. The ability at least to read the language of the original text is very desirable but not essential.

Cipher work will have little permanent attraction for one who expects results at once, without labor, for there is a vast amount of purely routine labor in the preparation of frequency tables, the rearrangement of ciphers for examination, and the trial and fitting of letter to letter before the message begins to appear.

The methods of analysis given in these notes cover only the simpler varieties of cipher and it is, of course, impossible to enumerate all the varieties of these. It is believed that the methods laid down are sound and several years of successful work along this line would seem to confirm this belief. For more advanced work there is no recourse but to study the European authorities whose writings are mostly in French, German, and Italian and, unfortunately, are rarely available in English translations.

Under intuition must be included a knowledge of the general situation and, if possible, the special situation which led to the sending of the cipher message. The knowledge or guess that a certain cipher message contains a particular word, often leads to its solution.

As to luck, there is the old miner's proverb: "Gold is where you find it."

The equipment for an office, where much cipher work is handled, will now be considered. The casual worker with ciphers can get along with much less, but the methods of filing and keeping a record of all messages studied should be followed wherever possible. The interchange of results between individuals and between offices should be encouraged and, in time of active operations, should be mandatory. An enemy may be using the same cipher in widely separated parts of the zone of operations and it is useless labor to have many cipher offices working on intercepted messages, all in the same cipher, when one office may have the solution that will apply to all of them.

Cipher work requires concentration and quiet and often must proceed without regard to hours. The office should be chosen with these points in mind. A clerical force is desirable and even necessary if there is much work to do. The clerk or clerks can soon be trained to do the routine part of the analysis.

It is believed that each Field Army should have such an office where all ciphers intercepted by forces under command of the Field Army Commander should be sent at once for examination. This work naturally falls to the Intelligence section of the General Staff at this headquarters. A special radio station, with receiving instruments only, should be an adjunct to this office and its function should be to copy all hostile radio messages whether in cipher or plain text. Such a radio station requires but a small antenna; one of the pack set type or any amateur's antenna is sufficient, and the station instruments can be easily carried in a suit case. Three thoroughly competent operators should be provided, so that the station can be "listening in" during the entire twenty-four hours.

The office should be provided with tables of frequency of the language of the enemy, covering single letters and digraphs; a dictionary and grammar of that language; copies of the War Department Code, Western Union Code and any other available ones; types of apparatus or, at least, data on apparatus and cipher methods in use by the enemy; and a safe filing cabinet and card index for filing messages examined. A typewriter is also desirable.

The office work on a cipher under examination should be done on paper of a standard and uniform size. Printed forms containing twenty-six ruled lines and a vertical alphabet are convenient and save time in preparation of frequency tables. Any new cipher methods which are found to be in use by the enemy should, when solved, be communicated to all similar offices in the Army for their information.

Unless an enemy were exceedingly vigilant and changed keys and methods frequently, such an office would, in a few days, be in a position to disclose completely all intercepted cipher communications of the enemy with practically no delay.

Chapter II

Principles of Mechanism of a Written Language

With a few exceptions, notably Chinese, all modern languages are constructed of words which in turn are formed from letters. In any given language the number of letters, and their conventional order is fixed. Thus English is written with 26 letters and their conventional order is A, B, C, D, E, etc. Some letters are used very frequently and others rarely. In fact, if ten thousand consecutive letters of a text be counted and the frequency of occurrence of each letter be noted, the numbers found will be practically identical with those obtained from any other text of ten thousand letters in the same language. The relative proportion of occurrence of the various letters will also hold approximately for even very short texts.

Such a count of a large number of letters, when it is put in the form of a table, is known as a frequency table. Every language has its own distinctive frequency table and, for any given language, the frequency table is almost as fixed as the alphabet. There are minor differences in frequency tables prepared from texts on special subjects. For example, if the text be newspaper matter, the frequency table will differ slightly from one prepared from military orders and will also differ slightly from one prepared from telegraph messages. But these differences are very slight as compared with the differences between the frequency tables of two different languages.

Again there is a fixed ratio of occurrence of every letter with every other for any language and this, put in table form, constitutes a table of frequency of digraphs. In the same way a table of trigraphs, showing the ratio of occurrence of any three letters in sequence, could be prepared, but such a table would be very extensive and a count of the more common three letter combinations is usually used.

Other tables, such as frequency of initial and final letters of words, might be of value but the common practice is to put cipher text into groups of five or ten letters each and eliminate word forms. This is almost a necessity in telegraphic and radio communication to enable the receiving operator to check correct receipt of a message. He must get five letters, neither more nor less, per word or he is sure a mistake has been made. There is little difficulty, as a rule, in restoring word forms in the deciphered message.

We will now take up, in order, the various frequency tables and linguistic peculiarities of English and Spanish. Frequency tables for French, German, and Italian for single letters will follow. All frequency tables have been re-calculated from at least ten thousand letters of text and compared with existing tables. No marked difference has been found in any case between the re-calculated tables and those already in use.

Data for Solution of Ciphers in English

Table I.--Normal frequency table. Frequency for ten thousand letters and for two hundred letters. This latter is put in graphic form and is necessarily an approximation. Taken from military orders and reports, English text.

10,000 Letters 200 Letters

A 778 16 1111111111111111 B 141 3 111 C 296 6 111111 D 402 8 11111111 E 1277 26 11111111111111111111111111 F 197 4 1111 G 174 3 111 H 595 12 111111111111 I 667 13 1111111111111 J 51 1 1 K 74 2 11 L 372 7 1111111 M 288 6 111111 N 686 14 11111111111111 O 807 16 1111111111111111 P 223 4 1111 Q 8 R 651 13 1111111111111 S 622 12 111111111111 T 855 17 11111111111111111 U 308 6 111111 V 112 2 11 W 176 3 111 X 27 Y 196 4 1111 Z 17

Vowels AEIOU = 38.37%; consonants LNRST = 31.86%; consonants JKQXZ = 1.77%.

The vowels may be safely taken as 40%, consonants LNRST as 30% and consonants JKQXZ as 2%.

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

Table II.--Frequency table for telegraph messages, English text. This table varies slightly from the standard frequency table because the common word "the" is rarely used in telegrams and there is a tendency to use longer and less common words in preparing telegraph messages.

10,000 Letters 200 Letters

A 813 16 1111111111111111 B 149 3 111 C 306 6 111111 D 417 8 11111111 E 1319 26 11111111111111111111111111 F 205 4 1111 G 201 4 1111 H 386 8 11111111 I 711 14 11111111111111 J 42 1 1 K 88 2 11 L 392 8 11111111 M 273 6 111111 N 718 14 11111111111111 O 844 17 11111111111111111 P 243 5 11111 Q 38 1 1 R 677 14 11111111111111 S 656 13 1111111111111 T 634 13 1111111111111 U 321 6 111111 V 136 3 111 W 166 3 111 X 51 1 1 Y 208 4 1111 Z 6

In this table the vowels AEIOU = 40.08%, consonants LNRST = 30.77% and consonants JKQXZ = 2.25%.

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

Table III.--Table of frequency of digraphs, duals or pairs (English). This table was prepared from 20,000 letters, but the figures shown are on the basis of 2,000 letters. For this reason they are, to a certain extent, approximate; that is, merely because no figures are shown for certain combinations, we should not assume that such combinations never occur but rather that they are rare. The letters in the horizontal line at the top and bottom are the leading letters; those in the vertical columns at the sides are the following letters. Thus in two thousand letters we may expect to find AH once and HA twenty-six times.

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 1 7 10 22 3 2 26 4 2 2 7 8 11 2 9 13 12 9 2 4 1 12 B 5 1 2 1 1 1 1 2 2 1 3 1 C 6 1 1 14 2 11 11 3 2 3 1 1 1 1 D 6 12 30 1 2 4 30 1 4 1 1 1 1 3 E 11 14 16 12 2 6 33 10 2 6 18 14 12 1 7 36 11 12 2 16 5 1 1 F 3 2 8 2 1 2 2 1 3 25 3 1 1 1 G 4 1 3 2 11 2 3 1 H 1 11 2 4 1 4 1 2 1 1 2 10 50 3 2 I 2 1 4 12 6 5 1 12 1 5 9 8 12 1 3 12 13 22 2 3 6 1 1 J 1 K 1 1 2 2 1 1 L 14 6 2 1 6 1 1 1 6 9 3 6 3 3 2 3 5 M 7 3 13 2 2 3 4 1 10 4 1 1 2 N 38 3 25 2 1 31 3 2 2 39 4 3 11 2 O 1 1 12 4 8 8 3 12 18 2 4 7 8 3 7 13 15 22 2 6 1 5 P 2 1 8 1 2 4 2 3 2 1 8 1 4 3 1 Q 2 1 1 1 R 16 1 3 3 40 3 6 2 6 1 2 1 25 8 2 2 8 11 2 S 16 1 3 25 1 2 17 1 2 1 12 7 2 9 11 6 11 1 6 T 25 1 3 12 13 5 2 3 20 2 1 24 8 2 16 20 11 6 2 2 7 U 1 2 1 6 1 3 2 2 3 3 1 17 1 5 3 5 5 1 V 3 1 5 5 3 2 5 1 W 1 2 8 1 1 1 1 2 4 2 3 3 X 1 4 2 1 1 Y 3 2 2 4 1 1 8 1 2 1 3 1 7 Z 1 1 1

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

Table IV.--Order of frequency of common pairs to be expected in a count of 2,000 letters of military or semi-military English text. (Based on a count of 20,000 letters).

TH 50 AT 25 ST 20 ER 40 EN 25 IO 18 ON 39 ES 25 LE 18 AN 38 OF 25 IS 17 RE 36 OR 25 OU 17 HE 33 NT 24 AR 16 IN 31 EA 22 AS 16 ED 30 TI 22 DE 16 ND 30 TO 22 RT 16 HA 26 IT 20 VE 16

Table V.--Table of recurrence of groups of three letters to be expected in a count of 10,000 letters of English text.

THE 89 TIO 33 EDT 27 AND 54 FOR 33 TIS 25 THA 47 NDE 31 OFT 23 ENT 39 HAS 28 STH 21 ION 36 NCE 27 MEN 20

Table VI.--Table of frequency of occurrence of letters as initials and finals of English words. Based on a count of 4,000 words; this table gives the figures for an average 100 words and is necessarily an approximation, like Table III. English words are derived from so many sources that it is not impossible for any letter to occur as an initial or final of a word, although Q, X and Z are rare as initials and B, I, J, Q, V, X and Z are rare as finals.

Letters 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 Initial 9 6 6 5 2 4 2 3 3 1 1 2 4 2 10 2 - 4 5 17 2 - 7 - 3 - Final 1 - - 10 17 6 4 2 - - 1 6 1 9 4 1 - 8 9 11 1 - 1 - 8 -

It is practically impossible to find five consecutive letters in an English text without a vowel and we may expect from one to three with two as the general average. In any twenty letters we may expect to find from 6 to 9 vowels with 8 as an average. Among themselves the relative frequency of occurrence of each of the vowels, (including Y when a vowel) is as follows:

A, 19.5% E, 32.0% I, 16.7% O, 20.2% U, 8.0% Y, 3.6%

The foregoing tables give all the essential facts about the mechanism of the English language from the standpoint of the solution of ciphers. The use to be made of these tables will be evident when the solution of different types of ciphers is taken up.

Data for the Solution of Ciphers in Spanish

The Spanish language is written with the following alphabet:

A B C CH D E F G H I J L LL M N Ñ O P Q R RR S T U V X Y Z

while the exact sense often depends upon the use of accents over the vowels. However, in cipher work it is exceedingly inconvenient to use the permanent digraphs, CH, LL and RR and they do not appear as such in any specimens of Spanish or Mexican cipher examined. Accented vowels and Ñ are also not found and we may, in general, say that a cipher whose text is Spanish will be prepared with the following alphabet:

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

and the receiver must supply the accents and the tilde over the N to conform to the general sense.

However, many Mexican cipher alphabets contain the letters K and W. This is particularly true of the ciphers in use by secret service agents who must be prepared to handle words like NEW YORK, WILSON and WASHINGTON. The letters K and W will, however, have a negligible frequency except in short messages where words like these occur more than once.

In this connection, if a cipher contains Mexican geographical names like CHIHUAHUA, MEXICO, MUZQUIZ, the letters H, X and Z will have a somewhat exaggerated frequency.

In Spanish, the letter Q is always followed by U and the U is always followed by one of the other vowels, A, E, I or O. As QUE or QUI occurs not infrequently in Spanish text, particularly in telegraphic correspondence, it is well worth noting that, if a Q occurs in a transposition cipher, we must connect it with U and another vowel. The clue to several transposition ciphers has been found from this simple relation.

Table VII.--Normal frequency table for military orders and reports, calculated on a basis of 10,000 letters of Spanish text. The graphic form is on a basis of 200 letters.

10,000 Letters 200 Letters

A 1352 27 111111111111111111111111111 B 102 2 11 C 474 9 111111111 D 524 10 1111111111 E 1402 28 1111111111111111111111111111 F 91 2 11 G 137 3 111 H 102 2 11 I 606 12 111111111111 J 41 1 1 L 517 10 1111111111 M 300 6 111111 N 619 12 111111111111 O 818 16 1111111111111111 P 257 5 11111 Q 87 2 11 R 751 15 111111111111111 S 724 14 11111111111111 T 422 8 11111111 U 387 7 1111111 V 85 2 11 X 6 Y 103 2 11 Z 42 1 1

In this table the vowels AEIOU = 45.65%; consonants LNRST = 30.33%; consonants JKQXZ = 1.76%.

Order of letters:

E a O R S N I D L C T U M P G Y (bh) F Q V Z J X.

Table VIII.--Table of frequency of digraphs, duals or pairs, Spanish text. Like Table III, this table is on the basis of 2,000 letters although prepared from a count of 20,000 letters. For this reason it is, to a certain extent an approximation; that is, merely because no figures are shown for certain combinations, we should not assume that such combinations never occur but rather that they are rare. The letters in the horizontal lines at the top and bottom are the leading letters; those in the vertical columns at the sides are the following letters. Thus, in two thousand letters, we may expect to find AI twice and IA twenty-three times.

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

A 9 4 19 11 5 6 17 23 54 18 9 3 20 29 11 21 8 6 2 5 A B 6 3 1 4 B C 24 6 6 24 5 3 8 8 9 5 2 2 C D 31 29 3 19 13 10 9 4 D E 12 2 6 59 10 1 5 7 2 12 18 22 4 9 38 25 28 25 3 3 E F 4 4 4 3 3 1 F G 2 4 8 4 2 G H 2 12 10 2 1 H I 2 23 16 5 2 3 11 13 6 10 5 3 I J 3 2 1 J L 21 3 6 39 3 3 7 21 5 6 12 2 2 L M 12 6 5 1 6 15 7 2 6 1 M N 32 46 2 8 32 12 2 N O 26 22 2 6 3 4 9 16 2 8 20 15 7 11 O P 13 3 2 4 9 2 7 4 11 P Q 11 5 1 2 3 1 Q R 40 27 2 4 4 36 3 11 17 3 R S 39 52 10 7 14 2 14 3 S T 5 13 4 4 18 5 6 30 T U 2 4 2 6 3 4 5 2 6 4 17 15 2 1 U V 2 2 2 2 2 2 V X X Y 5 6 2 5 2 2 Y Z 1 2 1 4 2 Z

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

Table IX.--Order of frequency of common pairs to be expected in a count of 2,000 letters of Spanish military orders and reports. Based on Table VIII.

DE 59 ON 32 AC 24 LA 54 AD 31 EC 24 ES 52 ST 30 CI 23 EN 46 ED 29 IA 23 AR 40 RA 29 DO 22 AS 39 TE 28 NE 22 EL 39 ER 27 AL 21 RE 38 CO 26 LL 21 OR 36 SE 25 PA 20 AN 32 UE 25 PO 20

Alphabetic Frequency Tables

(Truesdell)

Frequency of occurrence in 1,000 letters of text:

Letter French German Italian Portuguese A 80 52 117 140 B 6 18 6 6 C 33 31 45 34 D 40 51 31 40 E 197 173 126 142 F 9 21 10 12 G 7 42 17 10 H 6 41 6 10 I 65 81 114 59 J 3 1 [1] 5 K [1] 10 [1] L 49 28 72 32 M 31 20 30 46 N 79 120 66 48 O 57 28 93 110 P 32 8 30 28 Q 12 [1] 3 16 R 74 69 64 64 S 66 57 49 88 T 65 60 60 43 U 62 51 29 46 V 21 9 20 15 W [1] 15 X 3 [1] [1] 1 Y 2 [1] [1] 1 Z 1 14 12 4

Order of Frequency

French

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

German

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

Italian

E a I O L N R T S C D M U V G Z F B Q P H

Portuguese

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

Graphic Frequency Tables

Frequency of occurrence in 200 letters of text.

French

A 16 1111111111111111 B 2 11 C 6 111111 D 10 1111111111 E 39 111111111111111111111111111111111111111 F 2 11 G 1 1 H 1 1 I 13 1111111111111 J 1 1 K L 10 1111111111 M 6 111111 N 16 1111111111111111 O 11 11111111111 P 6 111111 Q 2 11 R 15 111111111111111 S 13 1111111111111 T 13 1111111111111 U 12 111111111111 V 4 1111 W X 1 1 Y Z

Italian

A 23 11111111111111111111111 B 1 1 C 9 111111111 D 6 111111 E 25 1111111111111111111111111 F 2 11 G 3 111 H 1 1 I 23 11111111111111111111111 L 14 11111111111111 M 6 111111 N 13 1111111111111 O 19 1111111111111111111 P 6 111111 Q R 13 1111111111111 S 10 1111111111 T 12 111111111111 U 6 111111 V 4 1111 X Y Z 2 11

German

A 10 1111111111 B 4 1111 C 6 111111 D 10 1111111111 E 32 11111111111111111111111111111111 F 4 1111 G 8 11111111 H 8 11111111 I 16 1111111111111111 J K 2 11 L 6 111111 M 4 1111 N 24 111111111111111111111111 O 6 111111 P 2 11 Q R 14 11111111111111 S 11 11111111111 T 12 111111111111 U 10 1111111111 V 2 11 W 3 111 X Y Z 3 111

Portuguese

A 28 1111111111111111111111111111 B 1 1 C 7 1111111 D 8 11111111 E 28 1111111111111111111111111111 F 2 11 G 2 11 H 2 11 I 12 111111111111 J 1 1 L 6 111111 M 9 111111111 N 10 1111111111 O 22 1111111111111111111111 P 6 111111 Q 3 111 R 13 1111111111111 S 18 111111111111111111 T 9 111111111 U 9 111111111 V 3 111 X Y Z 1 1

Chapter III

Technique of Cipher Examination

In time of active operations it is important that captured or intercepted cipher messages reach the examining office with the least possible delay. The text of messages, captured at a distance from the examining office, should be sent to the office by telegraph or telephone, the original messages being forwarded to the office as soon thereafter as possible.

The preamble, "place from," date, address and signature, give most important clues as to the language of the cipher, the cipher method probably used, and even the subject matter of the message. If the whole of a telegraphic or radio message is in cipher, it is highly probable that the preamble, "place from," etc., are in an operators' cipher and are distinct from the body of the message. As these operators' ciphers are necessarily simple, an attempt should always be made to discover, by methods of analysis to be set forth later, the exact extent of the operator's cipher and then to decipher the parts of the messages enciphered with it.

In military messages, we almost invariably find the language of the text to be that of the nation to which the military force belongs. The language of the text of the message of secret agents is, however, another matter and, in dealing with such messages, we should use all available evidence, both external and internal, before deciding finally on the language used. Whenever a frequency table can be prepared, such a table will give the best evidence for this purpose.

All work in enciphering and deciphering messages and in copying ciphers should be done with capital letters. There is much less chance of error when working with capitals and, with little practice, it is just about as fast. An additional safeguard is to use black ink or pencil for the plain text and colored ink or pencil for the cipher. A separate color may be used for the key when necessary.

The following blank form is suggested as convenient for keeping a record of a cipher under examination. It should accompany the cipher through the examining process and should be filled in as the facts are determined. This record, the original cipher and all notes of work done during the examination, should be filed together when the examination is completed, whether the cipher has been solved or not. It may be that other ciphers solved later will give clues to the solution of such unsolved ciphers.

The first column of this blank should be filled out from data furnished by the officer obtaining the cipher from the enemy. A general order, emphasizing the importance of promptly forwarding captured or intercepted ciphers to an examining office, could specify that a brief report embodying this data should be forwarded with each cipher.

The second column of the blank should be filled out progressively as the work proceeds. The office number should be a serial one, the first cipher examined being No. 1. The date and hour of receipt at examining office will be a check as to the time required to transmit it from place of capture. The spaces "From," "At," "To," "At," "Date," are for the information concerning sender and addressee of the cipher and are to be obtained from the message. In case an operators' cipher has been used, these parts of the message will have to be deciphered before the blanks can be filled in.

Intelligence Section, General Staff 1st Field Army

------------------------------------------------- Place, Date

Record of Cipher Examination

This cipher obtained by Office No. -----------------------

Received ------------- ----------- ---------------------------------- (Date) (Hour)

---------------------------------- From -----------------------------

at ------------------------------- At -------------------------------

on ---------------- -------------- To ------------------------------- (date) (hour) At ------------------------------- How being transmitted when obtained. (Underscore means used and enter Date ----------------------------- data on sending and receiving stations). Probable language of text --------

Sending Receiving { Transposition ---------- Station Station { { ------------------------ Radio Class { Telephone { Substitution ----------- Telegraph { Buzzer { ------------------------ Helio Lantern Case ----------------------------- Flag Cyclist from to Remarks: Foot Messenger ,, ,, Mtd. Messenger ,, ,,

How obtained. (Underscore means used). Captured before delivery Solution completed --------- ------ to addressee. Captured after (date) (hour) delivery to addressee. Intercepted, not received by addressee. Copied, Language of text ------------------ but received by addressee. Key, (if determined) -------------- Remarks: -----------------------------------

Type ---------- File No. ----------

-----------------------------------

----------------------------------- Examiner.

The probable language of the text is assumed from the preceding data and, if necessary, from internal evidence. Thus a cipher from a Mexican source and not containing K or W is probably in Spanish.

The class and case are determined by the rules laid down later. The space for remarks is to permit notation of any special features. When the solution is completed, the date and hour are noted, the language of text and key (if determined) are entered and a type number, to identify it with other ciphers prepared by the same method (but not necessarily the same key), is given to it. The file number is for convenience in filing and in preparation of a card index.

The process of examination in an office with one examiner, one stenographer and one clerk, might be as follows: On receipt of a captured cipher with accompanying report, the stenographer makes four copies of the cipher on the typewriter. The clerk and stenographer then check the work. The stenographer then proceeds to fill out the first column and first two lines of the second column of the record blank from the report of the capturing officer, keeping the original cipher and two copies with the record. He may also fill out the first seven lines of the second column, if this data is on the captured cipher in plain text. In the meantime the clerk is counting and setting down the whole number of letters of the cipher and the occurrence of AEIOU, LNRST, and JKQXZ, while the examining officer is looking over the cipher for possible recurring groups of letters and underlining them when found.

This work being completed, the examining officer is in a position, ordinarily, to decide on the class of the cipher and he may have found something in his examination which will lead him to the case under the class. The clerk in this preliminary count should keep track of the total occurrence of each of the fifteen check letters and not of the three groups given above. This takes a little longer but when done, the data for fifteen letters of the alphabet for a frequency table is completed, leaving only eleven other letters, and in Spanish, but nine, to be counted, in case it is necessary to prepare a frequency table.

If the examining officer decides the cipher to be of the transposition class, no further work with frequency tables is necessary. The clerk should proceed to count and set down the number of vowels in each line and column and the examining officer should look for any occurrence of the letter Q and try to connect it with U and another vowel. The stenographer may be set to work putting the cipher into rectangles of different dimensions. The clerk's work gives data for possible rearrangement, for if the vowels are much out of proportion at any point, they must be connected with the proper proportion of consonants as a first step in rearrangement. Work with transposition ciphers must necessarily include much of the fit and try method. The details of this work are taken up later.

If a cipher seems to be a substitution cipher, the examining officer should look over the frequency of occurrence of each of the fifteen letters counted. If some letters (it is of no importance at present which ones) occur much more frequently than others and some occur rarely or not at all, we may safely decide on Case 4, 5 or 6 and let the clerk proceed to finish the frequency table for the message. On the other hand, if all the fifteen letters examined occur with somewhere near the same frequency--for example, the most common letter occurring not over three or four times as often as the least common letter--we may at once eliminate the first three cases and let the clerk proceed to examine the cipher for recurring pairs and groups, counting the intervening letters, so that the examining officer may decide whether Case 7, or some more complicated case, should be chosen.

If something more complicated than Case 7 has been used and other ciphers are on hand awaiting examination, the cipher should go into the unsolved file to be worked on when other work permits, unless the contents of the cipher are believed to be very important. Every opportunity should be taken to clean up the unsolved file and, whenever a message is solved, the methods should be tried, if applicable, to everything remaining in the file.

The first few days or weeks after the establishment of an examining office will be the most trying time. When solved ciphers begin to pile up, the methods of the enemy will be more and more apparent and it will often be possible to determine the method from knowledge of the name of the sender and receiver.

When a cipher has been solved, the solution should be prepared in triplicate and given the serial number of the cipher. Any parts which are not clear, through errors in enciphering or in transmission, should be underlined or otherwise made conspicuous, so that the head of the Intelligence Section may note them and, possibly, from other sources, supply the deficiency.

One of the copies of the cipher and report of examination, with a copy of the solution, should be turned over at once to the head of the Intelligence Section or to the Chief of Staff. The other copies of the solution should be filed with the original cipher, the report of examination, and all work done on the cipher.

Periodically, say once a week or even daily at the beginning of active operations, there should be an interchange between all examining offices of solved messages involving new methods used by the enemy. All the examining offices will thus be kept in touch. It may also be possible to assign certain hostile radio stations to each examining office to prevent duplication of work.