By inventing and using ingenious machines and novel manual techniques to crack German ciphers, the 9,000 scientists, mathematicians and other crucial supporting staff are said to have helped shorten the war by at least two years and to have saved millions of lives.