Unknown to the Japanese, the U.S. Navy had decoded Japanese secret codes. By March 1942, the U.S. was able to figure out up to 15% of the IJN's code. By the end of April the Americans were reading up to 85% of the messages in code.