All public Sources
Public document

Mathematical Recreations and Essays

PDF document375 original pagesAdded to Pandi 6 November 2026
AskTalkView media
Reading progressPage 57 of 81

The defect of the method is that the broken letters at once attract attention and suggest the system used. If the fact can be concealed that the visible symbols are parts of letters the cryptograph would be much improved. As an illustration take the appended communication which is said to have been given to the Young Pretender during his wanderings after Culleden. If it be creased along the lines BBBB and

Musical notation with a bracketed musical line and a musical staff beneath it.
Musical notation with a bracketed musical line and a musical staff beneath it.

CCCC (CCCC being along the second line of the second score), and then folded over, with BB inside, so that the crease CC lies over the line AA (which is the second line of the first score) thus leaving only the top


* For references, see Wilkins, supra, p. 38.

Original PDF link to page 269

and bottom of the piece of paper visible, it will be found to read conceal yourself, your foes look for you. I have seen what purports to be the original, but of the truth of the anecdote I know nothing, and the desirability of concealing himself must have been so patent that it was hardly necessary to communicate it by a cryptograph.

I proceed next to some of the more common types of ciphers. It is immaterial whether we invent characters to denote the various letters; or whether we employ special symbols to represent them, such as the symbol ( for aa, the symbol : for bb, and so on; or whether we use the letters in a non-natural sense, such as the letter zz for aa, the letter yy for bb, and so on. The rules for reading the cipher will be the same in each case.

In early times it was a common practice to invent arbitrary symbols to represent the letters. If the symbols are invented for the purpose they provoke attention, hence it would seem that preferably we should use symbols which are not likely to attract special notice. For instance, the symbols may be musical notes, in which case the message would appear as a piece of music. Geometrical figures have also been used for the same purpose. It is not even necessary to employ written signs. Natural objects have often been used, as in a necklace of beads, or a bouquet of flowers, where the different shaped or coloured beads or different flowers stand for different letters or words. An even more subtle form of disguising the cipher is to make the different distances between consecutive knots or beads indicate the different letters.

Of all such systems we may say that a careful scrutiny shows that different symbols are being used, and as soon as the various symbols are distinguished one from the other no additional complication is introduced, while for practical purposes they are more trouble to send or receive than those written in symbols in current use. Accordingly I confine myself to ciphers written by the use of the current letters and numerals.

It is convenient to divide ciphers into four classes. The first class comprises ciphers in which the same letter or word is always represented by the same symbol, and this symbol always represents the same letter or word. The second class comprises ciphers in which the same letter or word is, in some or all cases, represented by more than one symbol, and this symbol always represents the same letter or word. The third class comprises ciphers in which the same symbol represents sometimes

one letter or word and sometimes another. The fourth class comprises ciphers in which each letter or word is always represented by the same symbol, but more than one letter or word may be represented by the same symbol.

A cipher of the first type then is one in which the same letter or word is always represented by the same symbol, and this symbol always represents the same letter or word.

Perhaps the simplest illustration of a cipher of this type is to employ one language, but written as far as practical in the alphabet of another language. It is said that during the Indian Mutiny messages in English, but written in Greek characters, were used freely, and successfully baffled the ingenuity of the enemy, into whose hands they fell. If this is true, the intelligence of the Hindoos must have been much less than that with which they are usually credited. The device, however, is an old one, for we are told* that Edward VI was accustomed to make notes in cipher “with Greek characters, to the end that they who waited on him should not read them.”

A common cipher of this type is made by using the actual letters of the alphabet, but in a non-natural sense as indicating other letters. Thus we may use each letter to represent the one immediately following it in the natural order of the alphabet—the letters being supposed to be cyclically arranged—a standing for b wherever it occurs, b standing for c, and so on, and finally z standing for a. Or more generally we may write the letters of the alphabet in a line, and under them re-write the letters in any order we like. For instance

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 za\ 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 o l k m a z s q x e u f y r t h c w b v n i d g j po\ l\ k\ m\ a\ z\ s\ q\ x\ e\ u\ f\ y\ r\ t\ h\ c\ w\ b\ v\ n\ i\ d\ g\ j\ p

In such a scheme, we must in our communication replace a by o, b by l, etc. The recipient will prepare a key by rearranging the letters in the second line in their natural order and placing under them the corresponding letter in the first line. Then wherever a comes in the message he receives he will replace it by e; similarly he will replace b by s, and so on.

A cipher of this kind is not uncommonly used in military signalling, the order of the letters being given by the use of a key-word. If, for instance, Pretoria is chosen as the key-word, we write the letters in


* Sir John Hayward, Life of Edward VI., edition of 1636, p. 20.

this order, striking out any which occur more than once, and continue with the unused letters of the alphabet in their natural order, writing the whole in two lines thus:

p r e t o i a b c d f g hp\ r\ e\ t\ o\ i\ a\ b\ c\ d\ f\ g\ h z y x w v u s q n m l k jz\ y\ x\ w\ v\ u\ s\ q\ n\ m\ l\ k\ j

Then in using the cipher pp is replaced by zz and vice versa, rr by yy, and so on. A long message in such a cipher would be easily discoverable, but it is rapidly composed by the sender and read by the receiver, and for some purposes may be useful, especially if the discovery of the purport of the message is, after a few hours, immaterial.

A summary of the usual rules for reading ciphers of this type, whether written in English, French, German, Italian, Dutch, Latin, or Greek, was given by D.A. Conradus in 1742*; and similar rules have been given by various later writers. In English the letter which occurs most frequently is ee. The next most common letters are said to be tt, aa, oo, and ii; then nn; then rr, ss, and hh; then dd and ll; then cc, ww, uu, and mm; then ff, yy, gg, pp, and bb; then vv and kk; and then xx, qq, jj, and zz. The most common double letters are eeee, llll, oooo, and ssss; while in more than half the cases of a double letter at the end of a word, the letter is either ll or ss. Also, tt and hh form a common conjunction. I need not, however, go here into further details of this kind.

Assuming that the division into words is given, that non-significant symbols are not introduced, and that the problem is not complicated by the avoidance of the use of common words, a communication of any considerable length can usually be read with but little difficulty. The hints given by Conradus will at once suggest certain hypotheses as to which letters stand for which. Taking one of these hypotheses we write the message, replacing the symbols by the letters we conjecture that they represent and replace the others by dots. If the hypothesis is tenable, the arrangement will probably suggest some of the missing letters. If, for example, we find two words emphs-all and emptt-e where the missing letter is represented by the same symbol, the first word shows us that the missing letter is hh, mm, or tt, and the second word shews us that it must be ee, hh, ii, or oo, hence it must be hh. Every fresh letter so determined makes the hypothesis more probable and renders


  • Gentleman’s Magazine, 1742, vol. XII, pp. 133–135, 185–186, 241–242, 473–475.

See also the Collected Works of E.A. Poe in 4 volumes, vol. I, p. 30 et seq.

it easier to guess what the remaining symbols represent. The chief difficulty is to get a working hypothesis for the first few letters—if it is the true solution, probably the puzzle will be readily solved—but to make up a working hypothesis for even a few letters requires patience.

Ciphers of this class in which the division between the words is given are to be avoided. If we leave a space between such words a would-be decipherer is given an immense help. He will naturally try if a word denoted by a single symbol can be an i or an a, while the words of two or three letters will often stand revealed and so provide a definite groundwork on which he can construct the key. A long word may also betray the secret. For instance, if the decipherer has reason to suspect that the message related to something connected with Birmingham, and he found that a particular word of ten letters had its second and fifth letters alike, as also its fourth and tenth letters, he would naturally see how the key would work if the word represented Birmingham, and on this hypothesis would at once know the letters represented by eight symbols. With reasonable luck this should suffice to enable him to tell if the hypothesis was tenable. The effect of this can be avoided by leaving no spaces between the words, but this might lead to confusion and is not to be recommended. We can also use letters which occur but rarely, such as j, q, x, z, to separate words, and probably this is the best method.

Ciphers of this type suggest themselves naturally to those approaching the subject for the first time, and are commonly made by merely shifting the letters a certain number of places forward. If this is done we may decrease the risk of detection by altering the amount of shifting at short (and preferably irregular) intervals. Thus it may be agreed that if initially we shift every letter one place forward then whenever we come to the letter (say) n we shall shift every letter one more place forward. In this way the cipher changes continually, and is essentially changed to one of the third class; but even with this improvement it is probable that an expert would decode a fairly long message without much difficulty.

We can have ciphers for numerals as well as for letters: such ciphers are common in many shops. Any word or sentence containing ten different letters will answer the purpose. Thus, an old tradesman of my acquaintance used the excellent precept Be just O Man—the first letter representing 1, the second 2, and so on. In this cipher the price 10/6

Continue reading
Page 57 of 81