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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file tapcode-1.1.0.tar.gz.

File metadata

  • Download URL: tapcode-1.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for tapcode-1.1.0.tar.gz
Algorithm Hash digest
SHA256 edca1ac1dd18f142df09d0c664ecacdef7d1df045118a9be2e320dd107bd2d1a
MD5 b5ef82b2a754a8ebe3a63da4ba3d732e
BLAKE2b-256 f8c0c1d297f7de7965b8a9cb56253c4b52a358b2da0b4cd89bdd011569c94698

See more details on using hashes here.

File details

Details for the file tapcode-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: tapcode-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for tapcode-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ec5078857be485db6045f1880276037c7c63995162989a7412bb452f82bcdba4
MD5 1795655cbea511042273221928093166
BLAKE2b-256 58860d485c95d4d5804914f7430e4cab0d5e99088d508e5a5224a03edd00a7f0

See more details on using hashes here.

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