from pycipher import Porta print Porta('FORTIFICATION').encipher('HELLOWORLD') print Porta('FORTIFICATION').decipher('WYTUKHKDYZ')