pyc
pycipher
pypi i pycipher
pyc

pycipher

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

by James Lyons

0.5.2 (see all)License:UNKNOWN
pypi i pycipher
Readme

pycipher

Common classical ciphers implemented in Python. Documentation is available at http://pycipher.readthedocs.io/en/master/ .

Install

::

pip install git+git://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

GitHub Stars

180

LAST COMMIT

6yrs ago

MAINTAINERS

1

CONTRIBUTORS

5

OPEN ISSUES

4

OPEN PRs

4
VersionTagPublished
0.5.2
6yrs ago
0.5.0
9yrs ago
0.4
9yrs ago
0.3
9yrs ago
No alternatives found
No tutorials found
Add a tutorial