ArticleslgStudy

computer science

KL-7

KL-7 is a computer 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 KL-7 rather than just read about it. In short: The TSEC/KL-7, also known as Adonis was an off-line non-reciprocal rotor encryption machine. The KL-7 had rotors to encrypt the text, most of which moved in a complex pattern, controlled by notched rings.

KL-7 — main illustration
KL-7 — illustration

Key takeaways

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

Reference excerpt

The TSEC/KL-7, also known as Adonis was an off-line non-reciprocal rotor encryption machine. The KL-7 had rotors to encrypt the text, most of which moved in a complex pattern, controlled by notched rings. The non-moving rotor was fourth from the left of the stack. The KL-7 also encrypted the message indicator.

History and development In 1945, the Army Security Agency (ASA) initiated the research for a new cipher machine, designated MX-507, planned as successor for the SIGABA and the less secure Hagelin M-209. In 1949, its development was transferred to the newly formed Armed Forces Security Agency (AFSA) who named the machine AFSAM-7, which stands for Armed Forces Security Agency Machine No 7. It was the first rotor crypto machine, developed under one centralized cryptologic organisation as a standard machine for all parts of the armed forces, and the first cipher machine to use electronics (vacuum tubes), apart from the British ROCKEX, which was developed during World War 2. It was also the first cipher machine to use the re-entry (re-flexing, not to be confused with reflector) principle, conceived by Albert W. Small, which re-introduces the encryption output back into the encryption process to re-encipher it again, so that some symbols are ciphered more than once. In 1953, AFSA's successor, the U.S. National Security Agency, introduced the machine in the US Army and Air Force, the FBI and CIA. In 1955, the AFSAM-7 was renamed TSEC/KL-7, following the new standard crypto nomenclature. It was the most widely used crypto machine in the US armed forces until the mid-1960s and was the first machine capable of supporting large networks that was considered secure against known plaintext attack. Some 25,000 machines were in use in the mid-1960s. From 1956 on, the KL-7 was also introduced to all NATO countries. The KL-7 used two encryption procedures, codename POLLUX and ADONIS. The POLLUX procedure sent the message indicator (i.e. start position of the rotors) in clear, and ADONIS sent the message indicator in encrypted form.

Description The KL-7 was designed for off-line operation. It was about the size of a Teletype machine and had a similar three-row keyboard, with shift keys for letters and figures. The KL-7 produced printed output on narrow paper strips that were then glued to message pads. When encrypting, it automatically inserted a space between five-letter code groups. One of the reasons for the five letter groups was messages might be given to a morse code operator. The number of five letter groups was easily verified when transmitted. There was an adaptor available, the HL-1/X22, that allowed 5-level Baudot punched paper tape from Teletype equipment to be read for decryption. The standard KL-7 had no ability to punch tapes. A variant of the KL-7, the KL-47, could also punch paper tape for direct input to teleprinters.

Product details Each rotor had 36 contacts. To establish a new encryption setting, operators would select a rotor and place it in a plastic outer ring at a certain offset. The ring and the offset to use for each position were specified in a printed key list. This process would be repeated eight times until all rotor positions were filled. Key settings were usually changed every day at midnight, GMT. The basket containing the rotors was removable, and it was common to have a second basket and set of rotors, allowing the rotors to be set up prior to key change. The old basket could then be kept intact for most of the day to decode messages sent the previous day, but received after midnight. Rotor wiring was changed every 1 to 3 years. The keyboard itself was a large sliding switch, also called permutor board. A signal, coming from a letter key, went through the rotors, back to the permutor board to continue to the printer. The KL-7 was non-reciprocal. Therefore, depending on the Encipher or Decipher position of the permutor board, the direction of the signal through the rotors was changed. The rotor basket had two sets of connectors, two with 26 pins and two with 10 pins, at each end that mated with the main assembly. Both 26 pin connectors were connected to the keyboard to enable the switching of the signal direction through the rotors. Both 10 pin connectors on each side were hard-wired with each other. If a signal that entered on one of the 26 pins left the rotor pack on one of these 10 pins, that signal was redirected back into the rotors on the entry side to perform a new pass through the rotors. This loop-back, the so-called re-entry, created complex scrambling of the signal and could result in multiple passes through the rotor pack, depending on the current state of the rotor wiring. There was also a switch pile-up under each movable rotor that was operated by cams on its plastic outer ring. Different outer rings had different arrangements of cams. The circuitry of the switches controlled solenoids which in turn enabled the movement of the rotors. The combination of cam rings and the controlling of a rotor by several switches created a most complex and irregular stepping. The exact wiring between switches and solenoids is still classified.

The KL-7 was largely replaced by electronic systems such as the KW-26 ROMULUS and the KW-37 JASON in the 1970s, but KL-7s were kept in service as backups and for special uses. In 1967, when the U.S. Navy sailor John Anthony Walker walked into the embassy of the Soviet Union in Washington, DC seeking employment as a spy, he carried with him a copy of a key list for the KL-47. KL-7s were compromised at other times as well. A unit captured by North Vietnam is on display at NSA's National Cryptologic Museum. The KL-7 was withdrawn from service in June 1983[1], and Canada's last KL-7-encrypted message was sent on June 30, 1983, "after 27 years of service." The successor to the KL-7 was the KL-51, an off-line, paper tape encryption system that used digital electronics instead of rotors.

See also NSA encryption systems Typex Enigma

Notes ^ Britannica (2005). Proc (2005) differs, saying that, "after the Walker family spy ring was exposed in the mid-1980s (1985)...immediately, all KL-7's were withdrawn from service"

References

… excerpt ends here. Continue reading the full article.

Illustrations

KL-7 illustration
KL-7 illustration
KL-7 illustration
KL-7: KL-7 on display at USAF Communications Agency museum. Rotors have been removed.
KL-7 on display at USAF Communications Agency museum. Rotors have been removed.
KL-7: A set of KL-7 rotors
A set of KL-7 rotors

Worked examples

Example 1 — a first encounter with KL-7

Start with the simplest possible case. Write down what KL-7 claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer 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 KL-7 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 KL-7 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 KL-7

In research
KL-7 appears in computer 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 KL-7 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
KL-7 is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer-related introductions in 1949, National Security Agency encryption devices, Products introduced in 1949, so understanding it makes those chapters shorter.
In everyday life
Look for KL-7 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.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study KL-7 in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what KL-7 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 KL-7 out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is KL-7 in simple terms?

The TSEC/KL-7, also known as Adonis was an off-line non-reciprocal rotor encryption machine. The KL-7 had rotors to encrypt the text, most of which moved in a complex pattern, controlled by notched rings.

Why does KL-7 matter?

Because it connects several computer 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 KL-7?

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

Tags

  • Computer-related introductions in 1949
  • National Security Agency encryption devices
  • Products introduced in 1949
  • Rotor machines

Keep exploring