Hide Your Secrets in Plain Sight
An advanced steganography tool that allows you to hide secret messages within various media files including images, audio, video, and text files. StegHide provides a simple command-line interface for encoding and decoding hidden data across multiple file formats.
- Multi-format Support: Hide messages in images, audio files, videos, and text documents
- Lossless Encoding: Advanced algorithms ensure minimal quality degradation
- Simple CLI Interface: Easy-to-use command-line tool with intuitive flags
- Secure Hiding: Uses sophisticated steganographic techniques including LSB manipulation
- Cross-platform: Works on Windows, macOS, and Linux
| Media Type | Supported Formats | Method |
|---|---|---|
| Images | PNG, JPG, JPEG | LSB (Least Significant Bit) manipulation |
| Audio | WAV | Audio wave manipulation |
| Video | MP4 (recommended), AVI | Frame-by-frame embedding |
| Text | TXT | Zero-width character insertion |
- Python 3.10 or higher
git clone https://github.com/ekagrazi/steghide.git
cd steghide
pip install -r requirements.txtnumpy==1.21.0- Numerical operationsPillow==8.3.0- Image processinglibrosa==0.8.1- Audio analysisstegano==0.9.9- Steganography algorithmsbitstring==3.1.9- Binary data manipulationopencv-python- Computer vision operations
python3 steghide.py [media_type] [operation] <file_path>-i, --image- Image files-a, --audio- Audio files-v, --video- Video files-t, --text- Text files
-e, --encode- Hide a message in the file-d, --decode- Extract hidden message from the file
# Hide message in image
python3 steghide.py -i -e /path/to/image.png
# Extract message from image
python3 steghide.py -i -d /path/to/image.png# Hide message in audio (WAV format only)
python3 steghide.py -a -e /path/to/audio.wav
# Extract message from audio
python3 steghide.py -a -d /path/to/audio.wav# Hide message in video
python3 steghide.py -v -e /path/to/video.mp4
# Extract message from video
python3 steghide.py -v -d /path/to/video.mp4# Hide message in text file
python3 steghide.py -t -e /path/to/document.txt
# Extract message from text file
python3 steghide.py -t -d /path/to/document.txtpython3 steghide.py -hUses Least Significant Bit (LSB) manipulation to hide data in the color channels of pixels. The algorithm modifies the least significant bits of RGB values to store binary representations of the secret message.
Embeds data by modifying specific bits in the audio wave file's frame data. Uses a delimiter (*^*^*) to mark the end of hidden messages.
Extracts individual frames from the video, embeds the message across multiple frames using LSB techniques, then reconstructs the video with the hidden data intact.
Utilizes Zero-Width Characters (ZWC) to hide binary data within text documents. The message is encoded using special Unicode characters that are invisible when displayed.
- Audio files: Only WAV format is supported for audio steganography
- Video files: MP4 format is recommended for best compatibility
- File sizes: Large messages may require larger host files
- Quality: Some quality loss may occur, especially with compressed formats
- Security: This tool is for educational and legitimate purposes only
This tool is intended for educational purposes and legitimate use cases only. Users are responsible for ensuring they have proper authorization before hiding or extracting data from files. The developers are not responsible for any misuse of this software.
