Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/guillaume-gomez/steganography
- Owner: guillaume-gomez
- Created: 2021-11-27T00:02:27.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-29T11:02:21.000Z (about 3 years ago)
- Last Synced: 2024-10-30T10:48:07.511Z (3 months ago)
- Topics: rust, steganography
- Language: Rust
- Homepage:
- Size: 807 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"```