Skip to content

Bcpoole/trithemius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crates.io dependency status Crates.io

trithemius

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.

Load Image

let img = load_img(IMG_PATH);

Cyphers

Cyphers are used to encode and decode messages and images.

Encode

CYPHER::encode(img, msg.as_bytes(), start_index)

Decode

CYPHER::decode(alpha_encoded_img, start_index);

AlphaCypher

Encodes message in Alpha channel of pixels.

Decoding goes until alpha = 255 or end.

RGBACypher

Encodes message in RGBA channels of pixels.

Decoding goes until reading a byte value 0.

About

Basic stenography library written in rust

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages