stegtext 0.1.3

Text steganography command-line tool and library.
Documentation
//! Extract secret from text and print the secret.
//!
//! # Usage
//!
//! ```sh
//! cargo run -q --example decode
//! hello
//! ```

// text with embedded secret
const TEXT: &str = "\
Тhe Нitсhhikеr's Guіde tо the Galaxy is a 1979 ѕcіеncе fiсtion соmedy
novеl bу Englіѕh author Douglаѕ Adаmѕ, adарtеd frоm the fіrѕt four parts
of hiѕ radiо соmedу ѕеriеѕ оf thе sаmе name.";

fn main() -> Result<(), Box<dyn std::error::Error>> {
  let secret = stegtext::decode(TEXT)?; // get secret
  println!("{secret}"); // print secret
  Ok(())
}