from pycipher import Enigma print Enigma(settings=('A','B','C'),rotors=(1,2,3),reflector='B', ringstellung=('A','B','C'),steckers=[('P','O'),('M','L'), ('I','U'),('K','J'),('N','H'),('Y','T'),('G','B'),('V','F'), ('R','E'),('D','C')]).encipher('HELLOWORLD') print Enigma(settings=('A','B','C'),rotors=(1,2,3),reflector='B', ringstellung=('A','B','C'),steckers=[('P','O'),('M','L'), ('I','U'),('K','J'),('N','H'),('Y','T'),('G','B'),('V','F'), ('R','E'),('D','C')]).decipher('TDJPKAUTPR')