Crate stega

Source
Expand description

A simple library to conceal and reveal UTF-8 encoded data within PNG images.

Structs§

Carrier
Image that conceals or will conceal a payload
Payload
UTF-8 encoded data to be concealed in a carrier

Enums§

ImageError
Errors that can occur while opening or saving an image
SteganographyError
Errors that can occur while encoding or decoding a carrier

Functions§

decode
Reveal UTF-8 encoded data within a carrier by reading its least significant bits
encode
Encodes a payload into a carrier by overwriting in place its least significant bits
open_image
Opens an PNG image file as an RGB image
save_image
Saves an RGB image in the provided path