Crates.io | trithemius |
lib.rs | trithemius |
version | 2.0.2 |
source | src |
created_at | 2019-10-27 03:43:39.381646 |
updated_at | 2019-10-27 04:20:25.021085 |
description | A simple steganography library |
homepage | |
repository | https://github.com/Bcpoole/trithemius |
max_upload_size | |
id | 176030 |
size | 27,476 |
Stenography library written in rust. Supports using both Alpha and full RGBA channels. Also takes in a start index for where to write and will wrap around.
let img = load_img(IMG_PATH);
Cyphers are used to encode and decode messages and images.
CYPHER::encode(img, msg.as_bytes(), start_index)
CYPHER::decode(alpha_encoded_img, start_index);
Encodes message in Alpha channel of pixels.
Decoding goes until alpha = 255 or end.
Encodes message in RGBA channels of pixels.
Decoding goes until reading a byte value 0.