Program Listings

Python Poly-alphabetic Cypher

Back in 2016, I needed something simple to illustrate the concept of Polyalphabetic enciphering. The idea was to be both simple and use the least amount of resources as possible. It works on a similar principle to the famous Enigma, but with one twist. Have a look at the code, do what you want with it and enjoy.

Written initially in Python 2.7, it has since been converted to Python 3.8.2.

This works fine on the Mac using OS Catalina, but has problems with ANSI escape code sequences on Windows 10.. Please remember to install the Colorama Library.

For the full effect, run this from the Command Line.