#steganography #secrets #hide #image

bin+lib stegosaurust

A steganography tool, written in rust

10 releases

0.4.4 Sep 11, 2022
0.4.3 Sep 11, 2022
0.4.2 Jul 6, 2022
0.3.1 Jun 27, 2022
0.2.4 Jun 9, 2022

#4 in #steganography

36 downloads per month

GPL-3.0 license

7MB
1K SLoC

Stegosaurust
Stegosaurust

A simple image steganography tool, written in rust.

Publish CI

Disclaimer

⚠️ This is a program I made for fun. There is no guarantee of cryptographic security or data confidentiality. Please do not use this for sensitive information. If you do, you are doing so at your own risk. ⚠️

Introduction

Easily encode messages in images:

echo "text to hide" | stegosaurust enc --output encoded_image.png image.png
stegosaurust enc --decode encoded_image.png 

See the examples below for more usage.

Usage

🦕 stegosaurust 0.4.4
Hide text in images, using rust.

USAGE:
    stegosaurust <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    disguise    mask all files in a directory using steganography [aliases: dsg]
    encode      encode files using steganography [aliases: enc]
    help        Prints this message or the help of the given subcommand(s)

Installation

From crates.io

cargo install stegosaurust

From Source

Build and install the executable from the source code.

git clone https://github.com/jj-style/stegosaurust.git
cd stegosaurust
cargo install --path .

# to uninstall :(
cargo uninstall stegosaurust

Examples

The examples below assume you have installed the program (see here) and are in the repository directory (if not installed use cargo run -- instead of stegosaurust).

# how much data can we fit in an image...
stegosaurust enc --decode examples/example-2.png | mpv -

# is there something hidden in the logo on the README?
stegosaurust enc --decode .github/logo.png | xargs python -c "import webbrowser,sys; webbrowser.open(sys.argv[1])"

Dependencies

~16–30MB
~440K SLoC