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
Metadata
Release files for pycipher 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pycipher-0.5.2.zip | 45.5 kB | Details |
Release files / pycipher-0.5.2.zip
| Download URL | pycipher-0.5.2.zip |
|---|---|
| Size | 45.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5b3b3ef734604da09e1642f9c496a75df850668aee5b18818a3988eec4cd71b
|
|
BLAKE2b-256 checksum How to use checksums |
448f765d9889f76b21bf5327bea518786647e48bec1295a2478dd54e8efdb85d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |