
Steganography in Action: Hide & Recover Any Secret
StegMatrix is an interactive Streamlit app for modern steganography. Easily hide or recover text, images, PDFs, and documents within multiple hosts (images, PDFs, or text files) leveraging strong crypto—a perfect educational tool for cybersecurity learning and secure communication demos.
- 🔁 Encoder/Decoder UI — drag-and-drop interface for all scenarios
- 📸 Hide or Extract text, files, images, or PDFs inside images, PDFs, or TXT carriers
- 🔒 AES encryption (with your password) before data embedding
- ⚡ Instant, multi-format workflows (choose from A–I scenarios!)
- 💡 Download results or read extracted secrets in-app
- 🧑💻 Legacy demo scripts for advanced tests and extensions

Try uploading a PNG, PDF, or TXT—StegMatrix makes steganography easy and visual!
- Choose Encoder or Decoder
- Pick scenario (A–I) for encoding or target output for decoding
- Upload your 'carrier' file (image, PDF, or text)
- Upload or type your secret payload
- Encrypt with a password (default is demo; change for real use)
- Download your encoded file, or extract secrets from suspect files
- Python 3.8+
- Install dependencies:
pip install streamlit cryptography PyPDF2 pillow
streamlit run App.pyNo CLI fuss—everything is on the web interface.
StegMatrix/
├── App.py # Streamlit UI (main entry point)
├── Secure_transmit.py # Hiding helpers (image/PDF/text)
├── Extractor.py # Extraction helpers (all formats)
├── all old tests/ # Legacy/experimental scripts
├── .gitignore
└── README.md
- Uses AES encryption before hiding—ensure you use your own strong password.
- The default password in code is for demonstration; change it for any real use!
- No files or secrets leave your device (runs locally).
- Fork & submit PRs!
- Bug reports and feature ideas welcome via Issues.
Unlicensed. Contact maintainer for custom use.
StegMatrix — Streamlined Steganography for Everyone!