A python script for hiding secret text into public text utilizing zero-width encoding.
Project description
zwpy
A python script for hiding secret text into public text utilizing zero-width encoding.
Installation
With git GitHub:
git clone https://github.com/IrtsaDevelopment/zwpy.git
With pip PyPi
pip install idev-zwpy
Usage
Within the CMD/Terminal
If installed with GIT:
python zwpy.py [-h] {encode,decode,find} ...
If installed with PIP:
zwpy [-h] {encode,decode,find} ...
Utilize -h or --help parameter for additional help.
usage: zwpy [-h] {encode,decode,find} ...
positional arguments:
{encode,decode,find}
encode Will encode secret text into public text using zero-width characters.
decode Will decode text to find a secret from zero-width characters.
find Will print out a boolean telling if zero-width characters are found in the text, flag exists
to print out how many characters were found.
options:
-h, --help show this help message and exit
usage: zwpy encode [-h] [-b BASE] [-k KEY] [-o OUTPUT] [-S] text secret
positional arguments:
text Text to be displayed publicly to the reader.
secret Text to be encoded into zero-width characters and hidden in the public text.
options:
-h, --help show this help message and exit
-b BASE, --base BASE Specifies the base the secret is to be encoded in.
-k KEY, --key KEY Specifies key to use for xor operation on the secret.
-o OUTPUT, --output OUTPUT
Specifies the output file name, if not provided the output will be printed out.
-S, --silent Disabled progress bars.
usage: zwpy decode [-h] [-b BASE] [-k KEY] [-o OUTPUT] [-S SILENT] text
positional arguments:
text Text that may contain zero-width characters.
options:
-h, --help show this help message and exit
-b BASE, --base BASE Specifies the base the secret is was encoded in.
-k KEY, --key KEY Specifies key to use for xor operation on the secret.
-o OUTPUT, --output OUTPUT
Specifies the output file name, if not provided the output will be printed out.
-S SILENT, --silent SILENT
Disabled progress bars.
usage: zwpy find [-h] [-c] text
positional arguments:
text Text that may contain zero-width characters.
options:
-h, --help show this help message and exit
-c, --count Will specify to output how many zero-width characters were found.
Additional Notes:
- The following are accepted encoding bases:
binary,trinary,quaternary
Examples
zwpy encode "hello there!" "test"
- Will encode "test" into zero-width characters and combine it with "hello there!"
zwpy encode -b trinary "hello there!" "test"
- Will encode "test" into zero-width characters in a base three (trinary) format before combining it with "hello there!"
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file idev-zwpy-1.0.0.tar.gz.
File metadata
- Download URL: idev-zwpy-1.0.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3561e41ef3f1e338d8acccc76c765d8e51980c4b6056f2c94984d306a1fe352
|
|
| MD5 |
e3e31b6c82242d26cc18a002a245fbd9
|
|
| BLAKE2b-256 |
2b1cbcc1234ce0c0c2fa24f3e5fcdfada937ba6cb8e7af18ba2e3e5d59906a31
|
File details
Details for the file idev_zwpy-1.0.0-py3-none-any.whl.
File metadata
- Download URL: idev_zwpy-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
168372a7ab1cc198148bf2a22c939f01ead029e326aff6d3a1470b9676655682
|
|
| MD5 |
deec6e188ed74126420b586373efddfe
|
|
| BLAKE2b-256 |
323e762964821818812312824c4fb03676077e0306fa6ef256099096e8922efe
|