In May 1942, U.S. and Australian naval and air forces were facing off against the Imperial Japanese Navy in the Battle of the Coral Sea in the South Pacific. But in a windowless basement at Pearl Harbor, a group of U.S. Navy codebreakers had intercepted Japanese radio messages suggesting Japan was planning an entirely different—and potentially far more damaging—operation in the Pacific theater.
Led by Lieutenant Commander Joseph Rochefort, the team of cryptanalysts and linguists made up the U.S. Navy’s Combat Intelligence Unit (better known as Station Hypo). By April 1942, they had gotten so good at breaking Japan’s main operational code, which they dubbed JN-25b, that they were able to intercept, decrypt and translate parts of Japan’s radio messages within hours of when they were sent.