Hitler called the Lorenz code his geheimnis schreiber or secrets writer/diary. But he didnt know it was being broken. As you obviously know (but others dont seem to) the effort taken to mislead Adolf as to where allied forces were and what they intended to do was a war in itself. On D-Day Ike and Monty had all the German forces order of battle in front of them from Lorenz and this went on up to the end of the war.The element of surprise is one of the greatest weapons an adversary can possess and can mean the difference between victory and defeat.
If the U.S. knew when and where the Japanese were going to strike Pearl, the attack would have turned out considerably different.
If the Germans knew the date and time of Overlord, the Allied landings would have been a copy of the Dieppe raid on a massive scale.
There is a reason spies are a valuable asset (as well as being executed if caught by the enemy), their eyes and ears provide information that allows the ability to counter the enemy's intent.
Breaking the enemy's code(s) is much like having a spy, except the enemy himself is telling you exactly what they're up to.