Affine Ciphers
Posted: 01 Jun, 2009 | Download source
Affine.py is a little utility that demonstrates the functionality of Affine Ciphers. Use flag '-e' followed by text to encrypt followed by the key to be used.
Usage examples:
nav@home~$ python affine.py -e hello 11,8
gzyyf
nav@home~$ python affine.py -d 'rclla oaplx' 5,8
hello world
v1.1 - 23 Jun, 2009 - Removed a few logical flaws. Added command line argument support.
v1.0 - 01 Jun, 2009 - Basic demo. Plain text, cipher text and key are hardcoded