Skip to main content

Crate stenoxide_core

Crate stenoxide_core 

Source
Expand description

§stenoxide-core

Core engine of the stenoxide steganography system.

The crate is organised as five layers that are composed, never mixed:

  1. image_io — loading, validation and analysis of the container image.
  2. crypto — key derivation, authenticated encryption and compression.
  3. cost — HILL adaptive cost map over the validated image.
  4. stego — permutation, capacity sizing and Syndrome-Trellis Codes.
  5. pipeline — orchestration of the layers above with explicit ownership transfer, so that sensitive buffers are dropped and zeroed as early as possible.

§Linting policy

Fallible operations must be expressed through Result. Panicking helpers and unsafe are denied crate-wide, without exception: the Syndrome-Trellis coder was the one module that used to re-enable unsafe locally, and it is now stego::stc::native, which is safe Rust and links nothing.

Modules§

cost
Layer 3 — adaptive cost analysis.
crypto
Layer 2 — cryptography.
image_io
Layer 1 — image input/output.
pipeline
Layer 5 — pipeline orchestration.
stego
Layer 4 — embedding.