How did U.S. cryptanalysts break the Japanese Red and Purple cipher systems?
U.S. cryptanalysts successfully broke the Japanese Red and Purple cipher systems through a combination of mechanical analysis and the exploitation of Japanese procedural weaknesses.
The Red Cipher
In 1930, the Japanese Foreign Office introduced its first rotor machine, designated "Red" by U.S. cryptanalysts. By 1935–36, a team from the U.S. Army Signal Intelligence Service (SIS), led by William F. Friedman, successfully cryptanalyzed the system. Their success drew heavily on previous experience analyzing Hebern rotor machines.
The Purple Cipher
In 1939, Japan introduced the "Purple" machine, which replaced rotors with telephone stepping switches. U.S. cryptanalysts broke this system due to two primary factors:
* Gradual Transition: The replacement of Red machines with Purple was slow, which provided an enormous number of "cribs"—known or suspected plaintext-ciphertext pairs—that aided the analysis.
* Systematic Key Generation: To avoid key distribution issues, the Japanese generated keys systematically, allowing U.S. cryptanalysts to eventually anticipate keys days in advance.
Friedman and his associates constructed functional analogs of the Purple machine, which were used throughout World War II to decrypt Japanese communications, a project collectively code-named Magic.