Prisoner's tap code encryption
Project description
TAPCODE
Tapcode Cypher also known as Prisoner's tapcode. For a complete documentation look at ReadTheDocs
Install
You can install tapcode
either via pip (PyPI) or from source.
To install using pip:
pip3 install tapcode
Or manually:
git clone https://github.com/remiflavien1/tapcode
cd tapcode
python3 setup.py install
CLI
$ tapcode --help
usage: tapcode [-h] [-s SENTENCE] [-f FILE] [-d] [-e]
optional arguments:
-h, --help show this help message and exit
-s SENTENCE, --sentence SENTENCE
Sentence to cypher or decipher
-f FILE, --file FILE file to cypher or decipher
-d, --decode decode tapcode sentence.
-e, --encode encode sentences to tapcode.
Encipher a clear message :
$ tapcode -es "I Love Tapcode"
24 31345115 44113513341415.
Decipher a tapcode message :
$tapcode -ds "24 31345115 44113513341415"
I LOVE TAPCODE .
You can do the same but from file :
# Encipher
$ echo "I love coffee !" > to_encode.txt
$ tapcode -ef to_encode.txt
$ cat encoded
24 31345115 133421211515 .
# Decipher
$ echo "24 31345115 3511434411" > to_decode.txt
$ tapcode -df to_decode.txt
$ cat decoded
I LOVE PASTA .
API
For a complete API documentation look at ReadTheDocs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tapcode-1.0.0.tar.gz
(3.6 kB
view hashes)