By breaking the German military's secret codes - created using the famous Enigma machine - Turing helped British Intelligence stay one step ahead of Hitler, allowing the Navy to defeat his U-boats and win the Battle of the Atlantic.