Skip to main content

Prisoner's tap code encryption

Project description

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

Project details


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.1.0.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

tapcode-1.1.0-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page