Encyclopedia > Purple code

  Article Content

Purple code

Purple was the name used by the US military to identify the most secure diplomatic cryptographic system used by the Japanese Foreign Office during, and just before, World War II. It was not a code, but an electromechanical cypher. The color name referred to binders used by US cryptanalyists for material in this cypher; there had been a Red 'code' (also a cypher) used by the Japanese Foreign Officea dn purple was the next available color. The Purple machine was a successor to, and improvement on, both the Red machine and what the Americans called the M machine (used in some embassies and consulates by attaches). All were designed by a Japanese Navy Captain. The information gained from decryptions was eventually called Magic.

In operation, the encrypting machine accepted typewritten input (in Latin letters!) and produced cyphertext output. The result was a potentially excellent crypto system. In fact, operational errors, chiefly in choosing keys, made the system much less secure than it could have been. The Japanese believed it to be effectively unbreakable throughout the War. It was broken by a team from the US Army Signals Intelligence Service, then directed by William Friedman. The team was led by Frank Rowlett.

The Purple machine was first used by Japan in 1939, but US and British cryptographers had broken some of its messages well before the attack on Pearl Harbor. US cryptographers decrypted and translated the 14-part Japanese diplomatic message declaring war against the States before the Japanese Embassy in Washington could. The US never found any hint of the attack on Pearl Harbor in the decrypts, nor could they have as the Japanese were very careful to not discuss the planned attack in Foreign Office communications. In particular, none of the information about the planned attack was available to the Japanese Foreign Office; it was regarded by the military, particularly the more nationalistic military, as insufficiently 'reliable'. US access to private Japanese diplomatic communications (even the most secret ones) was also less useful than it might have been because policy in Japan in the pre-War period was controlled largely by military groups (eg, in China and Manchuria) and not by the Foreign Office, and because the Foreign Office itself deliberately kept from its embassies and consulates much of the information it did have, so the ability to read Purple transmissions was less than definitive regarding Japanese intentions.

Even so, the diplomatic information discovered was of even more limited value to the US because of its lack of dissemination within the US Government. Magic traffic was distributed in such a way that many policy makers who should have access to do their jobs knew nothing of it, and those to whom it actually was distributed (at least before Pearl Harbor) saw each message (briefly, as the courier stood by to take it back) in isolation from all others (no copies or notes were permitted), and in any case saw only those thought 'important enough' by the distributing officers. Nonetheless, being able to read Purple messages gave the Allies a great advantage in the war; for instance, the Japanese ambassador to Germany produced long reports for Tokyo which were encrypted with the Purple machine. They included reports on discussions with Hitler, a report on a tour of the invasion defenses in Northern France, ....

The break into the Purple traffic was the subject of acrimonious hearings in Congress after WWII in connection with an attempt to decide who, if anyone, had allowed the disaster at Pearl Harbor to happen and who therefore should be blamed. During those hearings the Japanese learned, for the first time, that the Purple cypher machine had been broken. They had been continuing to use it, even after the War, with the encouragement of the American Occupation. Much confusion over who knew what and when, especially when 'we were decrypting their messages' has led some to conclude that 'someone in Washington' knew about the Pearl Harbor attack before it happened.

In fact, Purple was an enticing, but quite tactically limited, window into Japanese planning and policy because of the peculiar nature of Japanese policy making prior to the War (see above). A better tactical window was the Japanese Fleet Code (an encoded cypher actually), called JN-25 by US Navy cryptographers. Breaking into the version in use in the months immediatley after December 7 provided enough information to lead to U.S. naval victories in the battles of the Coral Sea[?] and Midway, crushing the main air offensive power of the Japanese fleet at the latter and stopping the Japanese advance south in the former. Later, broken traffic also located the plane Admiral Yamamoto Isoroku was flying in, giving the US Navy the chance to assassinate the tactician who had devised Pearl Harbour.

Public notice had actually been served that Japanese cryptography was inadequate by the Chicago Tribune, which published a series of stories just after Midway in 1942 directly claiming -- correctly, of course -- that the victory was due in large part to US breaks into Japanese crypto systems (in this case, the JN-25 cypher, though it was not mentioned). Fortunately, neitehr the Japanese nor anyone who might have told them, seem to have noticed neither the Tribune, nor stories based on the Tribune account published in other US papers. Nor did they notice announcements made on the floor of the US Congress to the same effect. There were no changes in Japanese cryptography which can be connected with those newspaper accounts or Congressional disclosures. !?

An excellent (and somewhat brief) account of the WWII crypto struggle is Battle of Wits, by S Budiansky. Combined Fleet Decoded by J Prados has, in somewhat scattered form, a complementary account of Japanese cryptography, mostly from the Japanese side. Both are recent enough to reflect much of the release of information that had been kept secret since the War.

The German encoding machine

The German Enigma was unrelated to the Purple machine, though there have been published claims that Purple was 'merely' an Enigma copy of some sort. In fact, the Purple machine was a Japanese development, designed by a Japanese Navy Captain, though there seems to have been some assistance by at least one Polish officer prior to the '30s. Many of the German Enigma variants were also broken before (by the Poles) and during the War (by the British at Bletchley Park).



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Dynabee

... holding it in her hand can accelerate the gyroscope to incredibly high revs by following a circular wrist motion with the device. Modern devices come with electronic rev ...

 
 
 
This page was created in 45.6 ms