Habr•October 1, 2026•🇷🇺Translated from Russian

How the Lorenz SZ 42 Teleprinter Cipher Machine Worked: Nazi High Command Encryption and Its 1941 Breakthrough

In 1940, British interceptors detected unfamiliar teleprinter signals in the ether, mechanical trills instead of Morse code. These German encrypted teleprinter systems were collectively called Fish. Analysis of Lorenz messages between Vienna and Athens began in summer 1941, with the codename Tunny adopted in 1942. The German designation was Schlüsselzusatz, first SZ 40 then SZ 42 and variants.

Why Lorenz When Enigma Already Existed

Enigma M3 was portable but required separate encryption and transmission steps. The Wehrmacht high command needed direct teleprinter links between headquarters. The Lorenz SZ 40/42 sat between the teleprinter and the line, automatically encrypting the five-bit stream. Operators prepared messages on punched tape for transmission; the receiving unit restored plaintext for printing.

Four largely complete machines survive. Serial 1137 is at The National Museum of Computing, serial 1077 at Bletchley Park, serial 1116 at the National Cryptologic Museum, and one at the Deutsches Museum.

ITA2 Code and Vernam Cipher

Lorenz used the five-bit ITA2 code. It implements the Vernam cipher: plaintext bits XORed with a keystream produced by the wheels. When the keystream matches exactly and is used once, perfect secrecy results, but mechanical repetition created exploitable patterns.

Twelve Wheels: χ, ψ and μ Groups

Twelve wheels generated the keystream. Five χ wheels stepped every character; five ψ wheels stepped together but could be halted by two μ motor wheels. Each χ and ψ wheel contributed one bit, yielding Kᵢ = χᵢ ⊕ ψᵢ. Wheel lengths were pairwise coprime, producing a long period before repetition.

The Stuttering Psi Mechanism and Cryptanalysis

The μ61 wheel controlled μ37, which in turn decided whether the ψ wheels advanced. When ψ wheels stayed still, Δψ became zero, simplifying statistical attacks on ΔC = ΔP ⊕ Δχ ⊕ Δψ. Long messages revealed language biases once χ was correctly guessed, enabling recovery without exhaustive search of all 1.6 × 10¹⁹ starting positions.

Operator Error of 30 August 1941

Two long transmissions between Vienna and Athens used the same starting positions after an operator repeated a message with minor corrections. This depth allowed British analysts to reconstruct wheel patterns and movement rules, paving the way for Colossus in 1944.

Related articles

安全客•Other

OceanBase Launches OceanLake Platform to Power AI Agent Data Infrastructure

OceanBase has introduced the OceanLake AI data platform and open-sourced its OceanBase AI database under the codename OceanSeek at the AI Data Conference in Beijing. The announcement addresses a fundamental shift in data infrastructure design as AI agents replace humans as primary data consumers. Traditional systems built around human workflows now face new demands for real-time access, multi-modal consistency, elastic scaling, and low-cost experimentation. OceanBase CTO Yang Chuanhui outlined three stages of enterprise AI adoption that progressively increase pressure on data systems, from AI-assisted coding to full agent-driven business processes. The new platform combines lakehouse and database capabilities with support for Spark, Flink, Ray, and Daft to handle batch, streaming, and AI workloads in a unified architecture. Features such as compute-storage separation, zero-scale resource release, and data branching aim to reduce costs and enable parallel agent iteration at scale.

AntiMalware•Other

Russian Ministry Refutes Reports of Gosuslugi Burial Site Selection Service Launch

The Ministry of Digital Development of Russia has denied media claims that a new service for selecting burial places would launch on the Gosuslugi portal starting December 1, 2026. The project is currently in the testing phase, with work focused on connecting regions, training local specialists, and digitizing burial records. The erroneous reports stemmed from misinterpretation of timelines listed in the ministry's digital transformation program, which outlines technical implementation rather than public rollout dates. The service is based on the National Spatial Data System and would provide geographically linked information about cemeteries and available plots. Funding of 295.5 million rubles has been allocated for developing digital tools in cemetery management, though no changes to planned functionality have been announced. A public launch date will be disclosed separately once preparations are complete.

AntiMalware•Other

Rostelecom Allocates Up to 90 Million Rubles for AI-Driven Brand Update Across Subsidiaries

Rostelecom plans to deploy generative artificial intelligence to refresh its corporate identity, including subsidiaries and digital services. The operator has published a tender on the Roseltorg platform worth up to 90 million rubles, with approximately 4.5 million rubles earmarked specifically for AI-generated images and videos. The project spans 2026-2028, and up to four contractors may be selected following the December 16 deadline. Detailed pricing for AI-produced assets includes maximum rates of 19,900 rubles for abstract images, 37,100 rubles for single-person scenes, and 220,500 rubles for 30-second videos. The tender introduces a new specialist role of AI-artist with an hourly rate of up to 2,000 rubles. Rostelecom expects the use of AI agents to reduce production timelines and costs while retaining the option not to spend the full budget.

Habr•Other

SberHealth to Host DevOps-Garage Meetup on Infrastructure Security and AI Integration

SberHealth is organizing an online DevOps-garage Meetup scheduled for December 9 from 18:30 to 21:00 Moscow time. The event will examine how complex infrastructure systems are built, the tools selected during development, and the solutions that proved effective in practice. Speakers from SberHealth, SberTech, Kriptonit, and MWS will cover building and scaling data platforms using IaC, GitOps, and open-source tools. Additional topics include multi-layer infrastructure protection methods, deploying Kubernetes in isolated environments, and isolating AI agents within Kubernetes clusters while evaluating sandbox costs. The program also addresses the use of Policy Engine for Kubernetes management in the GenAI era and delegating infrastructure tasks to AI agents. Registration is available via a dedicated link, with contact information provided for those who do not receive confirmation emails.