Mechanical workings of Enigma