Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/guillaume-gomez/steganography

Steganography algorithm in Rust
https://github.com/guillaume-gomez/steganography

rust steganography

Last synced: about 2 months ago
JSON representation

Steganography algorithm in Rust

Awesome Lists containing this project

README

        

# Steganography
Steganography is a technique to hide an image inside another.

## Example

If we mixing

![image1](sample/sample1.jpg)

(cover image)

**( + )**

![image2](sample/sample2.jpeg)

(image to merge)

It's give us

![result](results/encrypt.png)

## How to use it

Encrypt
```
cargo run encrypt --input="filename_first_image" --input="filename_second_image" --output="expected_output_filename"

# example
cargo run encrypt --input="./sample/sample1.jpg" --input="./sample/sample2.jpeg" --output="./results/encrypt.png"
```

Decrypt
```
cargo run decrypt --input="input_image" --output="expected_first_output_filename" --output="expected_second_output_filename"

# example
cargo run decrypt --input="./results/encrypt.png" --output="./results/decrypt_1.png" --output="./results/decrypt_2.png"

```