1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//! # Slient Layer - Compression-Resistant Steganography Library
//!
//! A Rust library for hiding data in images and audio files with resistance to compression.
//! Uses DCT-based and spread spectrum techniques to survive JPEG compression and lossy audio encoding.
//!
//! ## Features
//!
//! - **Image steganography**: Hide data in PNG/JPEG images with DCT-based embedding
//! - **Audio steganography**: Hide data in WAV files using spread spectrum
//! - **Compression resistance**: Data survives JPEG compression and MP3 encoding with <5% loss
//! - **CLI tool**: Command-line interface for easy usage
//! - **FFI support**: C-compatible API for use in other languages
//! - **Extensible**: Easy to add support for video formats
//!
//! ## Usage
//!
//! ```rust,no_run
//! use slient_layer::{ImageSteganography, embed_image, extract_image};
//! use std::path::Path;
//!
//! # fn main() -> Result<(), Box<dyn std::error::Error>> {
//! // Hide data in an image
//! let secret = b"Hello, World!";
//! embed_image(
//! Path::new("input.png"),
//! Path::new("output.png"),
//! secret,
//! Some("password")
//! )?;
//!
//! // Extract data from an image
//! let extracted = extract_image(
//! Path::new("output.png"),
//! Some("password")
//! )?;
//! assert_eq!(extracted, secret);
//! # Ok(())
//! # }
//! ```
pub use crate;
pub use crate;
pub use crate;
pub use crate;
pub const VERSION: &str = env!;