shadawck / tapcode

Tapcode Cypher also known as Prisoner's tapcode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TAPCODE

PyPI version 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

Help Menu:

$ tapcode --help

usage: tapcode [-h] [-i INPUT] [-f [FILE]] [-o [OUTPUT]] [-I] [-d] [-e] [-C] [-G] [-v]

Encipher or Decipher a tapcode message.

optional arguments:
  -h, --help             Show this help message and exit
  -i, --input INPUT      Sentence to cypher or decipher
  -f, --file [FILE]      File to cypher or decipher
  -o, --output [OUTPUT]  Output file
  -I, --stdin            Standard input
  -d, --decode           Decode tapcode sentence.
  -e, --encode           Encode sentences to tapcode (Should be decimal values)
  -C, --convert          Convert tapcode to Decimal value.
  -G, --generate         Generate tapcode
  -v, --version          Tapcode version

Features

  • Multiple input method
    • Input text
    • File input
    • Standard input(Pipe)
  • Built in output flag
  • Generate and convert any tapcode

Examples

Encipher a clear message:

$ tapcode -es "I Love Tapcode"
24 31 34 51 15 44 11 35 13 34 14 15

Decipher a tapcode message:

$tapcode -ds "24 31 34 51 15 44 11 35 13 34 14 15"
ilovetapcode

For More Examples check ReadTheDocs

API

For a complete API documentation look at ReadTheDocs

About

Tapcode Cypher also known as Prisoner's tapcode

License:MIT License


Languages

Language:Python 94.9%Language:Makefile 5.1%