It was Poland responsible for the cracking of the German code,
August 1939 the British established the Government Code and Cipher School at Bletchley Park in Buckinghamshire.
They were.. Experienced codebreakers, secret service officers, mathematicians, scientists, crossword experts, international chess players, students, actresses and even astrologers and debutants.
Fortunately for the British codebreakers, in the years running up to the war Poland had worked on various techniques for cracking Enigma.
Shortly before the German invasion of Poland, they shared their work with their British allies.
Poland's government was the first to employ mathematicians as code-breakers, and the mathematicians' logical minds proved to be just what was needed to tackle Enigma.
This vital headstart from the Polish, coupled with the unique problem-solving and intuitive thinking skills of Bletchley's recruits,
Meant that Enigma was cracked.
In early 1940 a reliable technique for cracking Enigma was established.