Human: What was the enigma code? Assistant: 
The enigma code was a machine-based code used by the Germans during WWII. It was used to send messages via radio. It was a very complex system that had multiple layers of encryption. Alan Turing, a British mathematician, was one of the first people to break the code, but it took him two years to do so.