Overview
The Purple Cipher, commonly abbreviated as PURPLE, was a Japanese diplomatic encryption system employed in the 1930s and 1940s. It was used for high‑level diplomatic communications, most notably those transmitted by Japan’s Ministry of Foreign Affairs. The United States code‑named the system “PURPLE” to distinguish it from other Japanese ciphers such as the earlier “Red” cipher (a machine‑based system) and the later “J” and “M” series.
Technical Characteristics
| Aspect | Description |
|---|---|
| Type | Electromechanical rotor cipher machine (similar in principle to the German Enigma but with a distinct wiring architecture). |
| Key Generation | Utilised a set of stepping rotors with configurable wiring patterns; the machine allowed for daily key changes communicated through secure channels. |
| Alphabet | 26‑letter Latin alphabet, without case distinction. |
| Mode of Operation | Plaintext characters entered via a keyboard were transformed by the rotor assembly into ciphertext characters displayed on a lamp board. |
| Security Features | Designed to provide a large key space through multiple rotor positions and interchangeable wiring boards; incorporated plugboard‑type interconnections for additional complexity. |
Historical Development
- Design and Introduction – Development began in the early 1930s under the direction of the Japanese Foreign Ministry’s cryptographic office, with assistance from engineers at the Tokyo Telecommunications Research Institute. The first operational machines entered service in 1938.
- Allied Awareness – The United States intercepted Japanese diplomatic traffic and, through traffic analysis, assigned the codename “PURPLE” to the unknown system. |
- Cryptanalysis – Beginning in 1939, the U.S. Army’s Signals Intelligence Service (SIS), later the National Security Agency (NSA), launched a dedicated cryptanalytic effort (codenamed “Operation Magic”). The team, led by William F. Friedman, Frank Rowlett, and others, reconstructed a functional analog of the Purple machine by early 1940 without ever having captured a physical device. |
- Operational Impact – Decrypted Purple traffic provided critical intelligence on Japanese diplomatic negotiations, including the 1941 negotiations preceding the attack on Pearl Harbor. The intelligence derived from Purple was incorporated into the broader “Magic” intercepts that influenced Allied strategic decisions. |
- Obsolescence – By mid‑1942, Japan began transitioning diplomatic communications to newer, more secure systems (e.g., the “J” series). Consequently, the operational relevance of the Purple Cipher declined, although it remained in limited use for some lower‑priority channels until the war’s end. |
Breakthrough in Cryptanalysis
The successful replication of the Purple machine is considered a landmark in the history of cryptology for several reasons:
- Reverse Engineering Without a Physical Sample – The SIS team deduced the machine’s internal wiring and stepping mechanisms solely from intercepted ciphertext and limited plaintext known as “cribs.”
- Mathematical and Engineering Integration – The project combined statistical analysis, combinatorial mathematics, and mechanical engineering to produce an electromechanical analog that could be used for real‑time decryption.
- Strategic Value – The decrypted messages revealed Japanese diplomatic intentions, including the cancellation of a proposed summit with the United States, thereby shaping U.S. diplomatic posture.
Legacy
The Purple Cipher’s cryptanalysis contributed to the development of modern cryptographic practices, emphasizing the importance of algorithmic transparency and the risks inherent in mechanical cipher devices. It also highlighted the value of interdisciplinary collaboration among mathematicians, engineers, and linguists in signals intelligence.
References
- Friedman, William F. Secret Code Breakers: The Story of Cryptanalysis. New York: Harper & Row, 1965.
- Budiansky, Stephen. Battle of Wits: The Complete Story of Codebreaking in World War II. New York: Simon & Schuster, 2000.
- NSA History Office. “The RED and PURPLE Machines.” Cryptologic History, 1995.
- Kahn, David. The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet. New York: Scribner, 1996.
See Also
- Japanese diplomatic cipher machines
- Signals intelligence (SIGINT)
- Cryptanalysis of the Enigma machine
- Magic (cryptanalysis)
External Links
- National Security Agency (NSA) – “The Red and Purple Machines” (archival overview)
- United States National Archives – “Magic: The Codebreaking of Japanese Diplomatic Ciphers” (document collection)