:secret: Hide/Reveal secret message using zero-width characters
0wstego \ō-ste-gə\ is a script using zero-width characters to hide secret message inside normal message. It’s also capable to reveal secret message encoded by itself for sure .
Usage:
./0wstega.sh [-d|-f <file_path>]
Options:
Without any parameters, encode message
-d Decode message
-f <file_path> Decode message in file
-h | --help Display this help message
xclip
or pbcopy
:
~$ ./0wstego.sh | xclip -selection clipboard
Visible message: this is a visible sentence.
Secret message to hide: secret message
~$ ./0wstego.sh -d
Paste encoded message here: <paste>
~$ ./0wstego.sh -f ~/secret.md
~$ bats test/0wstego.bats
0wstego is heavily inspired by zero-width-detection.