In fact, the world's first programmable digital computer was built in secret by the British in the Second World War at Bletchley Park. Bletchley is famous as the place where the Enigma cipher machine was broken: a task which they performed efficiently using a machine called a Bombe.
Is the Enigma machine a computer?
In real life, the machine, known as the bombe, was built collaboratively, based on a device already in use by Polish mathematicians working to decode Enigma. And the bombe was not a computer. It could do only one thing, which was grind through possible settings of the German's encryption machines.
Who really broke the Enigma code?
To the outside world, it was Turing that had cracked the Enigma and shortened the war. Indeed, by the time The Imitation Game film about Turing was released in 2014, the efforts of the Polish cryptographers had been reduced to just one line.