Cipher machine inspired by the Enigma