simple.... the enigma machine

http://en.wikipedia.org/wiki/Enigma_machine



type 1 key, another spits out. and that was WW2.