Skip to content

python module containing many classical cipher algorithms: Caesar, Vigenere, ADFGVX, Enigma etc.

Notifications You must be signed in to change notification settings

bradleyayers/pycipher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pycipher

Common classical ciphers implemented in Python.

Install

pip install git+https://github.com/jameslyons/pycipher

Example usage

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

Feedback

The code is hosted on GitHub: https://github.com/jameslyons/pycipher

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

To run the test suite:

python setup.py test

About

python module containing many classical cipher algorithms: Caesar, Vigenere, ADFGVX, Enigma etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%