Several simple cipher algorithms
Project description
Common classical ciphers implemented in Python.
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.2.tar.gz
(11.3 kB
view details)
File details
Details for the file pycipher-0.2.tar.gz.
File metadata
- Download URL: pycipher-0.2.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74a128d6a58a446accc131e463590ebc85b63a9511ed08f3dac9441a4184d091
|
|
| MD5 |
6750b31083d6979fa3c828bbe6261f5f
|
|
| BLAKE2b-256 |
983bc80e25238949ad0a8d28f6cc70869493b6f409de56ef934b17cf76a8ee4c
|