python module containing many classical cipher algorithms: Caesar, Vigenere, ADFGVX, Enigma etc.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 8f1d7cf Jul 21, 2016



Common classical ciphers implemented in Python. Documentation is available at .


pip install pycipher

Example usage

>>> from pycipher import ADFGVX
>>> adfgvx = ADFGVX(key='PH0QG64MEA1YL2NOFDXKR3CVS5ZW7BJ9UTI8', keyword='GERMAN')
>>> adfgvx.encipher("Hello world!")
>>> adfgvx.decipher(_)


The code is hosted on GitHub:

If you find any bugs make an issue or create a pull request.

To run the test suite:

python test