"Ultimately, General George Marshall, then Chairman of the Joint Chiefs of Staff, persuaded Dewey not to make the speeches. Japans naval leaders did not realize America had cracked their codes, and Deweys speeches could have sacrificed Americas code-breaking advantage. So, Dewey said nothing, and in November FDR was elected president for the fourth time. "
I question this line of reasoning. The Jappanese were alerted to our code-breaking abilities by a story run in the Chicago Tribune following the Battle of Midway and by a speech made by a Congressman on the floor of the House.
Furthermore, the code used before Pearl was changed shortly after Midway, leading to a blackout of actual decoding prior to the invasion of Guadalcanal. Had the Jappanese been clued in by Dewey's speeches they would have learned that the US could break codes last used in mid 1942. Codes that had been changed multiple times since.
Dewey decided to "keep quiet" ...
Leahy???