In the history of the development of information security tools, the era of mechanical encryption occupies a special place, being a bridge between manual ciphers and complex electronic systems. It was during this period that devices appeared that determined the face of intelligence and military communications for decades to come. One of the pinnacles of engineering at that time was the M-104 encryption machine, created in the Soviet Union to ensure the highest level of secrecy of transmitted data.

This device, also known under the code name "Flora", was a highly complex electromechanical complex designed to encrypt telegraph messages. Unlike its Western counterparts, such as the famous German Enigma, Soviet developments had a unique architecture and operating principles, which made them practically invulnerable to cryptanalysis of that time. Studying the design of the M-104 allows us to gain a deeper understanding of how the security of state secrets was ensured at the height of the Cold War.

In this article we will examine in detail the design of the machine, its technical characteristics and role in the history of cryptography. You will learn why this model is still of interest to historians and information security specialists. Encryption machine M-104 is not just a museum exhibit, but a symbol of technological sovereignty and engineering genius.

History of creation and development background

By the middle of the 20th century, the volume of classified information requiring fast and reliable transmission had grown enormously. Manual encryption methods and earlier mechanical devices, such as Boden-type telegraph scramblers, could no longer cope with the increased demands on throughput and cryptographic strength. The Soviet Union required a device capable of operating in automatic mode at high speed, excluding the human factor and operator errors.

Machine development M-104 was carried out in strict secrecy by specialists of the 4th Main Directorate (later the 8th Main Directorate) of the KGB of the USSR. The basis for its creation was earlier developments, in particular the Flora machine, but the M-104 became a much more advanced version. Engineers had to solve a difficult problem: to create a device that would be reliable, transportable and easy to use in the field.

An important step was the introduction of new encryption principles based on the use of pseudo-random sequences generated mechanically. This made it possible to create a key space of such enormous dimension that a complete enumeration of all options was physically impossible even with the use of computer technology of that time. Cryptographic strength was achieved through a complex system of rotors and commutators.

⚠️ Attention: Despite the fact that the M-104 is a historical exhibit, the exact internal switching diagrams and operating algorithms may still constitute a state secret or be stored in closed archives of the special services.

The adoption of the vehicle became a landmark event for the government communications system. It made it possible to take the encryption of telegraph messages to a qualitatively new level, ensuring the protection of strategically important data from interception by foreign intelligence services. Development success M-104 laid the foundation for the creation of subsequent generations of encryption machines, including electronic complexes.

Design features and device

The M-104 encryption machine is a massive metal case with mechanical components mounted inside it. Externally, the device resembles a typewriter combined with a telegraph machine. The main control element is the keyboard, which allows the operator to enter plaintext, which is instantly converted into a ciphergram and sent over the communication line or printed on a paper tape.

The heart of the machine is the rotor system. Inside the housing there is a block of rotors (disks), each of which has a complex system of electrical contacts. When a key is pressed, an electrical signal passes through a chain of rotors, each time changing its direction depending on the current position of the contacts. After each character, the rotors rotate, changing the electrical circuit of the signal, which provides polyalphabetic encryption.

  • πŸ”§ Rotor block: A set of several removable disks with contacts, creating a variable electrical circuit for encryption.
  • ⌨️ Keyboard and printing device: A mechanism for entering text and outputting the result to a telegraph tape or paper.
  • βš™οΈ Pulling mechanism: Ensures synchronous movement of the rotors and tape, ensuring exact alignment of the encryption step.
  • πŸ”Œ Switching block: Serves for connection to telegraph communication lines and external power supplies.

During development, special attention was paid to the reliability of the mechanics. All moving parts are made of wear-resistant alloys that can withstand intensive use in various climatic conditions. Electromechanical circuit The machine has been designed to minimize the likelihood of failure even during prolonged continuous operation.

πŸ’‘

When studying historical photos of the M-104, pay attention to the indicator lamps - they served to visually monitor the condition of the machine and indicate synchronization errors.

Operating principle and encryption algorithms

Operating principle of the machine M-104 is based on the classic rotary encryption scheme, but with significant modifications that increase cryptographic strength. When the operator presses a key, an electrical impulse passes through a chain of rotors, each of which makes its own changes to the signal. The result is the lighting of the corresponding lamp on the receiving side or the printing of a encryption symbol.

A key feature is the stepping mechanism of the rotors. Unlike simple systems, where the rotors turn strictly sequentially, the M-104 used an irregular stepping system. This meant that the rotation of the next rotor depended on the state of the previous one, which made the key repetition period astronomically large.

To decrypt a message, an identical machine was required, configured with the same initial parameters (keys). The operator on the receiving side entered the ciphergram, and the machine, operating in reverse mode (or symmetrical, depending on the implementation), output the plaintext. Symmetricity of the algorithm allowed the same machine configuration to be used for both encryption and decryption.

Why do rotors change position?

Each rotor has 26 or 32 positions (depending on the alphabet). After the signal passes through the contact, the mechanism turns the rotor one step. This changes the electrical circuit for the next symbol, providing a high entropy cipher.

It is important to note that the machine operated in stream cipher mode. This meant that each character of the text was encrypted with its own unique key, depending on the current state of the rotors. This scheme provided high resistance to frequency analysis, which was the main method of cryptanalysis at that time.

Operation and configuration of key parameters

Working on a encryption machine M-104 required highly qualified operators and strict adherence to regulations. Before starting a communication session, it was necessary to synchronize the machines and install the keys. Key documentation was delivered by special couriers and destroyed after use or upon expiration.

The setup process included installing the rotors in a specific order, their initial orientation, and setting up the patch panel. Errors in setting at least one parameter made decryption impossible. Operators used special tables and code books to change settings daily.

  • πŸ“‹ Rotor installation: Selecting and installing disks in a specific order according to the key table.
  • πŸ”’ Starting position: Setting alphabetic or digital indices on the rotors to the β€œzero” position.
  • πŸ”— Synchronization: Checking communication with the correspondent and confirming readiness for key exchange.
  • 🧹 Service: Regular cleaning of contacts and lubrication of mechanisms to prevent failures.

Telegraph code, used by the machine, usually corresponded to the Baudot standard (5-bit code) or its modifications, which made it possible to transmit not only letters, but also numbers and special characters. The transmission speed depended on the speed of the telegraph machine, but was usually 50 or 75 baud.

β˜‘οΈ Preparing the M-104 for work

Done: 0 / 5

During operation, a strict journal was kept, where session times, keys used and technical parameters were recorded. This made it possible, if necessary, to audit the communication operation and identify possible compromises.

Comparative analysis with analogues

To understand the location of the car M-104 in the history of cryptography it is useful to compare it with well-known foreign analogues, such as the German Enigma or American SIGABA. Unlike Enigma, which had a number of vulnerabilities (reflection of characters into themselves, predictable walking of rotors), the Soviet machine was devoid of these shortcomings.

Characteristics M-104 (USSR) Enigma (Germany) SIGABA (USA)
Encryption type Rotary, in-line Rotary Rotary, complex
Number of rotors 5-8 (replaceable) 3-4 15 (in groups)
Stepping Irregular Regular (odometer) Stochastic
Cryptographic strength High Medium (hacked) Very high

American car SIGABA is considered more perfect, but also more cumbersome. The M-104 occupied its niche, providing a balance between mobility, speed and level of protection. Soviet cryptographic school has always relied on mathematical rigor and the absence of weak points in algorithms.

Interestingly, while Enigma was widespread and used at all levels of command, the M-104 was intended for higher echelon communications. This explains the smaller number of surviving examples and the lesser popularity among the general public.

Heritage and contemporary significance

With the advent of electronic computers and digital encryption algorithms, the era of mechanical encryptors came to an end. car M-104 was withdrawn from service and replaced by more modern electronic systems, such as the Accord series. However, its role in the history of information security cannot be overestimated.

Today, copies of the M-104 can be found in museums of cryptography and communications. They serve as reminders of a time when the security of state secrets depended on mechanical precision and operator discipline. Studying these devices is important for understanding the evolution of information security methods.

⚠️ Attention: Collecting encryption equipment may be limited by the legislation of the Russian Federation. Before purchasing or importing such devices, make sure that there are no prohibitions on the distribution of special equipment.

A unique fact is that some of the principles embedded in the mechanics of the M-104 are reflected in modern pseudo-random number generation algorithms used in software cryptography.

πŸ“Š What interested you most in the article?
History of creation
Technical device
Comparison with Enigma
The fate of the car today

In conclusion, it is worth noting that the M-104 encryption machine is a monument of engineering thought that demonstrates the high level of development of domestic science and technology in the mid-20th century. Its creation was a response to the challenges of the time and provided the necessary level of security of communications during a critical period of history.

πŸ’‘

M-104 became a symbol of the transition from manual encryption to automated systems, setting reliability standards for subsequent generations of cryptographic technology.

Is it possible to buy M-104 today?

The original M-104 vehicles are rare museum exhibits. They can be found in specialized museums or from private collectors of rare equipment. Sales may be restricted by law, since the device is classified as special equipment.

Was M-104 hacked?

There is no reliable data on the complete cracking of the codes of the M-104 machine by foreign intelligence services during the period of its active operation. The high cryptographic strength of the algorithms and the discipline of using keys made the system reliable.

What is the main difference between the M-104 and Enigma?

The main difference is the rotor walking system and the absence of symbol reflection vulnerability. The M-104 used more complex mechanical connections between the rotors, which made frequency analysis much more difficult.

What is the weight of the M-104?

The M-104 is a fairly heavy device due to its massive metal body and mechanics. The exact weight varies depending on the modification, but is usually several tens of kilograms, which required permanent installation or special transport.