To thoroughly understand just how completely the Japanese codes had been compromised, we recommend that you read the attached post-war article - it is composed entirely of the chit-chat that took place between the government functionaries in Tokyo, their diplomats in Washington, their spies in Honolulu, and their representatives in Berlin.
The article winds up explaining that the one vital communication that contained the information regarding the day of Japan's attack was not translated until December 8th.
Click here to read about a coded telephone conversation between Japanese diplomat Saburo Kurusu and Admiral Yamamoto.
Additional articles about the Pearl Harbor attack can be found here...