A basic implementation of the Enigma I, in Javascript.