Simulates an Enigma encryption device.