DISCLAIMER: not production ready, core changes can be done at any time.
Implements LSB steganography for PNG image files in rust-lang.
Aims for compatibility to the Stegano for windows version
Let's assume we want to hide data of a file called README.md
, into an image called HelloWorld.png
, based on a image called resources/with_attachment/Blah.txt.png
. So we would run:
sh
stegano hide \
--data README.md \
--in resources/Base.png \
--out README.png
or by cargo
sh
cargo run -- hide \
--data README.md \
--in resources/Base.png \
--out README.png
The final result is then contained in the image README.png
.
Let's unveil the README.md
that we've hidden just above in README.png
sh
stegano unveil \
--in README.png \
--out README-2.md
or by cargo
sh
cargo run -- unveil \
--in README.png \
--out README-2.md
Let's unveil the raw data of the README.md
that we've hidden just above in README.png
sh
stegano unveil-raw \
--in README.png \
--out README.bin
The file README.bin
contains all raw data unfiltered decoded by the LSB decoding algorithm. That is for the curious people, and not so much interesting.