The ENIGMA cipher machine was used by the German military in World War II. Messages typed into the machine were encrypted and then sent by Morse code. Based on earlier Polish code-breaking efforts, special-purpose machines in the US and Britain secretly broke the ENIGMA codes.