Skip to main content

Prisoner's tap code encryption

Project description

TAPCODE

PyPI version Requirements Status Documentation Status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tapcode, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size tapcode-1.0.0-py3-none-any.whl (4.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size tapcode-1.0.0.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page