Skip to content

mikkel1156/ZeroWidth-Coder-Python3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZeroWidth ⁠‌‍‌‌‍‍‌‍​‌‍‍‍‌‍‌‍​‌‍‍‌‌‌‍‍​‌‍‍‌‍‌‌‌​‌‌‍‌‌‌‌‌​‌‍‍‌‍‍‌‌​‌‍‍‌‍‍‍‍​‌‍‍‍‌‍‍‌​‌‍‍‌‌‍‌‍​‌‌‍‌‌‌‌‌​‌‌‍‍‍‍‌‌​‌‌‍‍‌‌‍‍​⁠Coder

A very simple script made in Python3 to encode/decode text into zero-width characters which will result in them being "invisible". The repo also contains a small tool (main.py) to use the encoder/decoder from a CLI.

Usage

usage: main.py [-h] [-e] [-d] [-m MESSAGE] [-s SECRET]

optional arguments:
  -h, --help            show this help message and exit
  -e, --encode          encode a secret message
                        --secret [required]
                        --message [optional]
  -d, --decode          decode a secret message
                        --secret [required]
  -m MESSAGE, --message MESSAGE
                        message to insert secret into
  -s SECRET, --secret SECRET
                        secret which is either to be encoded into a message, or contains a secret

Code Example

import zw_coder

print("Encoded: " + zw_coder.encode("TOP-SECRET", "This does so not contain a secret..."))
print("Decoded: " + zw_coder.decode(encoded))

About

Simple encoder/decoder for zero-width characters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages