Legendary · gold frame
In spring 1942 US Navy codebreakers at Station HYPO in Pearl Harbor, led by Joseph Rochefort, could read parts of Japanese naval messages. They knew a big attack was coming against a target called AF. Rochefort was sure AF meant Midway, but Washington had doubts. So Rochefort and analyst Jasper Holmes set a trap. Midway's garrison sent a fake message, deliberately unencrypted, reporting that its water plant had broken down. Days later the codebreakers read a Japanese report that AF was short of water. The target was confirmed. Admiral Nimitz placed his carriers to meet the attack, and in early June 1942 the US Navy won the Battle of Midway, sinking four Japanese carriers. It became one of the turning points of the Pacific war.
Why it mattered
A simple trick turned a guess into proof, and that proof let a smaller fleet ambush a larger one.