ArticleslgStudy

science

Chaocipher

Chaocipher is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Chaocipher rather than just read about it. In short: The Chaocipher is a cipher method invented by John Francis Byrne in 1918 and described in his 1953 autobiographical Silent Years. He believed Chaocipher was simple, yet unbreakable.

Chaocipher — main illustration
Chaocipher — illustration

Key takeaways

  • Chaocipher belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Chaocipher to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Chaocipher from memory before moving on to harder problems.

Reference excerpt

The Chaocipher is a cipher method invented by John Francis Byrne in 1918 and described in his 1953 autobiographical Silent Years. He believed Chaocipher was simple, yet unbreakable. Byrne stated that the machine he used to encipher his messages could be fitted into a cigar box. He offered cash rewards for anyone who could solve it. Byrne tried unsuccessfully to interest the US Signal Corps and Navy in his system. Although numerous students of classical cryptanalysis attempted to solve the challenge messages over the years, none succeeded. For 90 years, the Chaocipher algorithm was a closely guarded secret known only to a handful of persons. In May 2010 Byrne's daughter-in-law, Patricia Byrne, donated all Chaocipher-related papers and artifacts to the National Cryptologic Museum in Ft. Meade, Maryland, USA. This led to the disclosure of the Chaocipher algorithm.

Design In Byrne's embodiment of Chaocipher, the system consists of two disks, referred to as the left and right disks, each having 26 equal-sized removable tabs around its periphery. These removable tabs contain the 26 letters of the alphabet (i.e., A through Z) in some prearranged order. On the circumference of each disk are studs that allow the two disks to 'engage' or interlock. When engaged, turning one disk in one direction (e.g., clockwise) will cause the other wheel to turn in the opposite direction (e.g., counterclockwise). The tabs are removable, meaning that a tab can be removed from the periphery, another block of tabs shifted, and the extracted tab inserted into an empty space in the periphery. At any point in time, the disks can be engaged with each other so that moving one moves the other in the opposite direction. Similarly, engaged disks can be disengaged, at which point a disk can be turned without moving the other disk. Engagement and disengagement could conceivably be performed by placing a lever in one of two positions. The two disks mentioned above sit on a platform consisting of two spindles. On the platform around each disk are two marks known as the 'zenith' and the 'nadir'. The zenith can be thought of as 12 o'clock on an analog clock, while the nadir is 6 o'clock.

Operation In its classic form, the Chaocipher system consists of two alphabets, with the right-side alphabet used for locating the plaintext letter, while the other ("left") alphabet is used for reading the corresponding ciphertext letter. The underlying algorithm is related to the concept of dynamic substitution whereby the two alphabets are slightly modified after each input plaintext letter is enciphered. This leads to nonlinear and highly diffused alphabets as encryption progresses. Deciphering is identical to enciphering, with the ciphertext letter being located in the "left" alphabet while the corresponding plaintext letter is read from the "right" alphabet. A detailed description of the Chaocipher algorithm is available as well as discussions of the deciphered plaintexts and the solution to Byrne's challenge.

Overview of the encryption process Given left and right disks, enciphering a plaintext character consists of five steps:

Verify the left and right disks are engaged. Rotate the plain (right) disk, bringing the desired plaintext letter to the zenith position. Read the corresponding ciphertext letter at the zenith position on the cipher (left) disk. Permute the left disk. Permute the right disk. These five steps are performed continuously until the plaintext input is exhausted. To illustrate the process we will encipher the first plaintext letter of Byrne's Exhibit 1 using the same alphabets and disk setting he used, as shown in Figure 1.

How to Encipher Plaintext

Locate the plaintext letter

Suppose we want to encipher the letter "A". Locate 'A' on the periphery of the plaintext (right) disk. The plaintext letter is highlighted in Figure 2.

While the disks are engaged, rotate the right disk to bring the plaintext letter 'A' to the zenith (Figure 3). Note how the left (cipher) disk rotates respectively in the opposite direction. The letter in the zenith position on the cipher (left) disk is our ciphertext letter (i.e., 'C'). At this point we have completed the enciphering of a plaintext letter into ciphertext, i.e. 'A' (pt) was enciphered into 'C' (ct). See the next section for instructions on performing Chaocipher's unique permuting of the two disks in preparation for enciphering the next plaintext letter.

Permuting the alphabets Now that the plaintext letter and its corresponding ciphertext letter are known, proceed to permute the alphabets on both disks in preparation for enciphering the next plaintext letter.

Permute the left wheel

Permuting the left wheel's alphabet involves the following general steps (Figure 4):

Physically extract the letter tab found at position zenith-1 (i.e., one counter-clockwise position past the zenith) taking it out of the disk's alphabet, temporarily leaving an unfilled 'hole'. Shift all letter tabs in positions zenith-2 (advancing counter-clockwise) down to and including the nadir (zenith-13), moving them in unison one position clockwise. This will close the current 'hole', leaving a new 'hole' at the nadir position. Insert the previously extracted letter tab into the empty nadir position. Before performing the permuting step, the left disk should look like the diagram in Figure 4a. Performing step (1), extract the letter at position zenith-1 (i.e., "P") leaving a momentary 'hole' at that position (Figure 4b). For step (2) shift all letters in the counter-clockwise sequence beginning with zenith-2 ("E") down to and including the nadir ("O"), moving the sequence ("EDQRSTIXYLMO") as a complete block one position clockwise (Figure 4c). In the final step (3), insert the extracted letter ("P") back into the alphabet at the nadir position. The left is now permuted and should now look like Figure 4d.

Permute the right wheel

Permuting the right disk is similar to that of the left disk, with small but significant differences. It consists of the following general steps (Figure 5):

… excerpt ends here. Continue reading the full article.

Illustrations

Chaocipher: Figure 2. Locating the letter "A" on the right (plaintext) Chaocipher wheel
Figure 2. Locating the letter "A" on the right (plaintext) Chaocipher wheel
Chaocipher: Figure 3. Bringing the plaintext letter ("A") to zenith
Figure 3. Bringing the plaintext letter ("A") to zenith
Chaocipher: Figure 4. Step-by-step diagrams of Chaocipher left wheel permuting
Figure 4. Step-by-step diagrams of Chaocipher left wheel permuting
Chaocipher: Figure 5. Step-by-step diagrams of Chaocipher right wheel permuting
Figure 5. Step-by-step diagrams of Chaocipher right wheel permuting
Chaocipher: Figure 6. Chaocipher disks ready for next encryption/decryption
Figure 6. Chaocipher disks ready for next encryption/decryption

Worked examples

Example 1 — a first encounter with Chaocipher

Start with the simplest possible case. Write down what Chaocipher claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Chaocipher before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Chaocipher ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Chaocipher

In research
Chaocipher appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Chaocipher in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Chaocipher is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1918 introductions, Classical ciphers, so understanding it makes those chapters shorter.
In everyday life
Look for Chaocipher outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Chaocipher” →

How to study Chaocipher in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Chaocipher means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Chaocipher out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Chaocipher in simple terms?

The Chaocipher is a cipher method invented by John Francis Byrne in 1918 and described in his 1953 autobiographical Silent Years. He believed Chaocipher was simple, yet unbreakable.

Why does Chaocipher matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Chaocipher?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Chaocipher.

Tags

  • 1918 introductions
  • Classical ciphers

Keep exploring