Several simple cipher algorithms
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pycipher-0.5.2.zip
(45.5 kB
view details)
File details
Details for the file pycipher-0.5.2.zip.
File metadata
- Download URL: pycipher-0.5.2.zip
- Upload date:
- Size: 45.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5b3b3ef734604da09e1642f9c496a75df850668aee5b18818a3988eec4cd71b
|
|
| MD5 |
226207ee9d3fc43220457a94735ed0be
|
|
| BLAKE2b-256 |
448f765d9889f76b21bf5327bea518786647e48bec1295a2478dd54e8efdb85d
|