lsbtextpng_steganography

(Least significant bit text into portable network graphic steganography)

This repo is a module for the commandline tool steg but can also be used independently

A steganography strategy that uses the least significant bits of a png to hide text.

Usage

Add the following to the Cargo.toml in your project:

toml [dependencies] lsb_text_png_steganography = "*" ## replace with latest version

and import using extern crate:

```rust extern crate lsbtextpng_steganography;

use lsbtextpng_steganography::{ hide, reveal };

fn run () { let payloadpath = "./texts/payload.txt"; let carrierpath = "./images/carrier.png"; let outputcarrierpath = "./output_carrier.png";

// hide let img = hide(payloadpath, carrierpath); img.save(output_path).unwrap();

// reveal
let text = reveal(output_path);
println!(text)

} ```