Enigma Machine- Encrypt&Decrypt

World War 2's success- because of the work on Enigma codes?

What is the Enigma machine?

The Enigma machine is used for the encryption and decryption of secret messages. The enigma codes changed as people tried to decrypt messages which made the British and Polish cracking the code a vital part of World War 2. Most of the key was set for a time period and then changed, generally every day.