A simple steganography library written in rust
Add the following to the Cargo.toml in your project:
toml
[dependencies]
steganography = "*"
and import using extern crate
:
```rust extern crate steganography;
//Use steganography:: ```
```rust let buffer = [0x00_u8];
let outputFile = writetofile(&buffer, "test.jpg".to_string());
let ref mut outputPath = &Path::new("test.png");
let _ = out.save(outputPath).unwrap(); ```
rust
let out_buf = read_from_file("test.png".to_string());
bash
RUST_TEST_THREADS=1 cargo test