PURPLE
More info
- Released
- 1939
- Type
- Cipher machine
- Owner
- Japanese Foreign Ministry
- Predecessor
- RED (Type A)
Japan's diplomatic cipher machine of 1939, built from telephone-exchange relays instead of rotors — and reconstructed by the Americans without their ever having seen one.
Its actual name was the 97-shiki ōbun inji-ki, "Alphabetical Typewriter Type 97". Unlike Enigma it had no rotors: the enciphering was done by stepping switches, the same electromechanical part that connected calls in a telephone exchange. The design inherited an unfortunate quirk from its predecessor RED — the six vowels were handled by a circuit separate from the twenty consonants. That 6–20 split left a statistical fingerprint the Americans already knew how to read.
William Friedman's Signal Intelligence Service, with Frank Rowlett driving the work, spent eighteen months on it and read the first plaintext in the autumn of 1940. They then built a working analogue purely from inference; they did not lay hands on a real one until Berlin in 1945, and that one was wreckage. The product was codenamed MAGIC. That it still gave no warning of Pearl Harbor is simply because PURPLE carried diplomatic traffic: Tokyo's ambassadors were not told where the fleet was going.