Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

embed

Embed a payload into a cover medium.

Usage

shadowforge embed --input <FILE> --cover <FILE> --output <FILE> --technique <TECHNIQUE> [OPTIONS]

Options

OptionRequiredDescription
--inputYesPath to the payload file
--coverNoCover medium (omit for amnesiac mode)
--outputYesOutput path for the stego file
--techniqueYesSteganographic technique (see overview)
--profileNostandard (default), adaptive, or survivable
--platformNoTarget platform (required when profile = survivable)
--amnesiaNoRead cover from stdin, write stego to stdout
--scrub-styleNoScrub text payload before embedding
--deniableNoEnable dual-payload deniable embedding
--decoy-payloadNoDecoy payload path (with --deniable)
--decoy-keyNoDecoy key path (with --deniable)
--keyNoPrimary key path (with --deniable)

Examples

# Basic LSB embedding
shadowforge embed \
  --input secret.txt --cover photo.png --output stego.png --technique lsb

# Adaptive embedding (bounded detectability)
shadowforge embed \
  --input secret.txt --cover photo.png --output stego.png \
  --technique lsb --profile adaptive

# Compression-survivable for Instagram
shadowforge embed \
  --input secret.txt --cover photo.jpg --output stego.jpg \
  --technique dct --profile survivable --platform instagram

# Deniable embedding (dual payloads)
shadowforge embed \
  --input real-secret.txt --cover photo.png --output stego.png \
  --technique lsb --deniable \
  --key ./primary.key --decoy-payload decoy.txt --decoy-key ./decoy.key

# Amnesiac mode (zero disk writes)
cat cover.png | shadowforge embed \
  --input secret.txt --output /dev/stdout --technique lsb --amnesia > stego.png

# Embed with stylometric scrubbing
shadowforge embed \
  --input article-draft.txt --cover photo.png --output stego.png \
  --technique lsb --scrub-style