Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oliverbutler/steggy

Written in Rust, features a simple cli and a client-side webapp
https://github.com/oliverbutler/steggy

cli cryptography rust steganography

Last synced: 26 days ago
JSON representation

Written in Rust, features a simple cli and a client-side webapp

Awesome Lists containing this project

README

        

# Steggy CLI Tool

Written in Rust, features a simple cli and a client-side webapp. This tool hides data within the least significant bit of an image. Obfuscation techniques are utilized to make the

![steg.png](/steggy.png)

## Install

```bash
brew tap oliverbutler/steggy
brew install steggy
```

## Usage

### Encode

```bash
steggy encode -f secret.txt -i image.jpg -o out.png
```

### Decode

Decode will output the image inside an encoded image in the same path, optionally allows an output path for the resulting data.

```bash
steggy decode -i out.png
```

# Image Data Structure

This is the structure of a `steggy` encoded image file.

| Pos | Length | Field |
| ---- | -------- | -------------- |
| 0 | 1 byte | Flags (unused) |
| 1 | 4 bytes | Name length |
| 2 | 4 bytes | Data length |
| 6 | 16 bytes | Salt |
| 22 | X | Name |
| 22+x | Y | Data |