- Image containers:
- 8-bit RGB/RGBA PNG
- JPEG
- Supports plain text, files and stdin
- LSB algorithm
- Secret key for random steps between pixels
- Shell completions
curl -sL https://github.com/vvh413/s739/releases/latest/download/s739 --output ~/.local/bin/s739
chmod +x ~/.local/bin/s739
git clone https://github.com/vvh413/s739
cd s739
cargo install --path . --features cli
Add the following to your shell config file (~/.bashrc
, ~/.zshrc
, etc.):
- bash:
eval "$(s739 generate bash)"
- zsh:
eval "$(s739 generate zsh)"
- fish:
s739 generate fish | source
Supported shells: bash, zsh, fish, elvish, powershell.
$ s739 -h
Steganography tool
Usage: s739 <COMMAND>
Commands:
encode Encode data to image
decode Decode data from image
generate Generate shell completions
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
$ s739 encode -h
Encode data to image
Usage: s739 encode [OPTIONS] --input <INPUT> --output <OUTPUT> <--text <TEXT>|--file <FILE>|--stdin>
Options:
-i, --input <INPUT>
Input file
-o, --output <OUTPUT>
Output file
--png-compression <COMPRESSION>
PNG compression type [default: fast] [possible values: default, fast, best]
--png-filter <FILTER>
PNG filter type [default: adaptive] [possible values: no, sub, up, avg, paeth, adaptive]
--jpeg-compress-profile <COMPRESS_PROFILE>
MozJPEG compression profile [default: max] [possible values: max, fastest]
-t, --text <TEXT>
Encode plain text data
-f, --file <FILE>
Encode file
-s, --stdin
Read data from stdin
-k, --key <KEY>
Secret key
--selective
Skip some DCT coefs for JPEG
--depth <DEPTH>
Depth (least bit to use) [default: 0]
--bits <BITS>
Number of bits per single image unit (pixel/DCT coef) [default: 1]
--jpeg-comp <JPEG_COMP>
JPEG component index
--max-step <MAX_STEP>
Overwrite calculated max step
-h, --help
Print help
$ s739 decode -h
Decode data from image
Usage: s739 decode [OPTIONS] --input <INPUT>
Options:
-i, --input <INPUT> Input file
-f, --file <FILE> Write data to file
-k, --key <KEY> Secret key
--selective Skip some DCT coefs for JPEG
--depth <DEPTH> Depth (least bit to use) [default: 0]
--bits <BITS> Number of bits per single image unit (pixel/DCT coef) [default: 1]
--jpeg-comp <JPEG_COMP> JPEG component index
--max-step <MAX_STEP> Overwrite calculated max step
-h, --help Print help