Stegosaurust
Stegosaurust

A simple image steganography tool, written in rust.

Disclaimer

:warning: 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. :warning:

Introduction

Easily encode messages in images: bash echo "text to hide" | stegosaurust --output encoded_image.png image.png stegosaurust --decode encoded_image.png See the examples below for more usage.

Usage

``` 🦕 Stegosaurust 0.2.0 Hide text in images, using rust.

USAGE: stegosaurust [FLAGS] [OPTIONS]

FLAGS: -b, --base64 Encode/decode with base64 -c, --check-max-length Check max message size that can be encoded with options given. Does not perform the encoding, acts like a dry-run -d, --decode Decode a message from the image -h, --help Prints help information -V, --version Prints version information

OPTIONS: -i, --input Input file to encode, stdin if not present -k, --key Encrypt the text before encoding it with AES-256-CBC -N, --max-bit Maximum bit to possible modify (1-4) -m, --method Method to use for encoding (lsb,rsb) [default: lsb] -o, --output Output file, stdout if not present -s, --seed Seed for random significant bit encoding

ARGS: Input image ```

Installation

From crates.io

bash cargo install stegosaurust

From Source

Build and install the executable from the source code. ```bash 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).

```bash

how much data can we fit in an image...

stegosaurust --decode examples/example-2.png | mpv -

is there something hidden in the logo on the README?

stegosaurust --decode .github/logo.png | xargs python -c "import webbrowser,sys; webbrowser.open(sys.argv[1])" ```