It's a simple script to encrypt and decrypt A1Z26 Cipher.
git clone https://github.com/KHPROG55/a1z26-cipher
$ python a1z26-cipher.py
usage: a1z26-decrypter.py [-h] [-e ENCRYPT [ENCRYPT ...]]
[-d DECRYPT [DECRYPT ...]] [-v]
optional arguments:
-h, --help show this help message and exit
-e ENCRYPT [ENCRYPT ...], --encrypt ENCRYPT [ENCRYPT ...]
Encrypt one string or list of strings
from stdin or file(s)
-d DECRYPT [DECRYPT ...], --decrypt DECRYPT [DECRYPT ...]
Decrypt one string or list of strings
from stdin or file(s)
-v, --version show program's version number and
exit
$ # encrypt a string
$ python a1z26-cipher.py -e testing
20 5 19 20 9 14 7
$ # decrypt an encrypted string
$ python a1z26-cipher.py -d 20 5 19 20 9 14 7
testing
$ # encrypt a string from file, inside the file > "testing"
$ python a1z26-cipher.py -e filename.txt
20 5 19 20 9 14 7
$ # decrypt a string from file, inside the file > "20 5 19 20 9 14 7"
$ python a1z26-cipher.py -d filename.txt
testing
$ # encrypt from multiple files
$ python a1z26-cipher.py -e file1.txt file2.txt ...
output of file1.txt
output of file2.txt
...
$ # decrypt from multiple files
$ python a1z26-cipher.py -d file1.txt file2.txt ...
output of file1.txt
output of file2.txt
...
a1z26-cipher
is licensed under the GNU General Public License (GPL) 3.0.