The British had been hugely successful at breaking German codes in the First World War. The Germans were determined not to let that happen again. This time they had Enigma, a code machine that produced messages that could not be decrypted. Or so the Germans believed.