Welcome to the CyberSecurity-Steganography repository! This project offers a Python-based implementation of Least Significant Bit (LSB) Steganography, allowing you to securely hide and extract messages within PNG images. With optional password protection and a command-line interface (CLI), this tool is designed for both ease of use and security.
- Introduction
- Features
- Installation
- Usage
- Command-Line Interface
- Example
- License
- Contributing
- Support
Steganography is the practice of hiding information within other non-secret data. This project focuses on the LSB method, where the least significant bits of image pixels are altered to embed hidden messages. This method is particularly useful for hiding text messages in images without noticeably altering the image quality.
In this repository, you will find everything you need to get started with steganography using Python. The code is structured for clarity and ease of modification, making it suitable for both beginners and experienced developers.
- LSB Steganography: Embed and extract messages within PNG images using the Least Significant Bit method.
- Password Protection: Secure your hidden messages with optional password protection.
- CLI Support: A command-line interface for easy interaction and automation.
- Cross-Platform Compatibility: Works on Windows, macOS, and Linux.
- Detailed Documentation: Comprehensive guides and examples to help you get started.
To install the project, follow these steps:
-
Clone the Repository:
git clone https://github.com/julio9410/CyberSecurity-Steganography.git
-
Navigate to the Directory:
cd CyberSecurity-Steganography -
Install Required Packages: Use pip to install the necessary packages.
pip install -r requirements.txt
-
Run the Application: You can now run the application directly from the command line.
To use the steganography tool, follow the steps below:
-
Prepare Your Image: Make sure you have a PNG image ready for embedding your message.
-
Embed a Message: You can embed a message into your image using the command:
python steganography.py embed -i input_image.png -o output_image.png -m "Your secret message" -p "your_password"
-
Extract a Message: To extract a message from the image, use:
python steganography.py extract -i output_image.png -p "your_password"
The CLI is designed for simplicity. Here are the available commands:
embed: Embeds a message into an image.extract: Extracts a hidden message from an image.
| Command | Description | Options |
|---|---|---|
| embed | Embed a message into an image | -i, -o, -m, -p |
| extract | Extract a message from an image | -i, -p |
Hereโs a simple example to demonstrate how to use the tool:
-
Embed a Message:
python steganography.py embed -i example.png -o hidden_image.png -m "Hello, World!" -p "mysecret"
-
Extract the Message:
python steganography.py extract -i hidden_image.png -p "mysecret"
After running the extract command, you should see "Hello, World!" printed in the console.
This project is licensed under the MIT License. Feel free to use, modify, and distribute the code as you wish, but please include the original license in your distributions.
Contributions are welcome! If you have suggestions for improvements or new features, please open an issue or submit a pull request. Make sure to follow the contribution guidelines provided in the repository.
If you encounter any issues or have questions, please check the Releases section for updates or open an issue in the repository.
Thank you for checking out the CyberSecurity-Steganography project! We hope you find it useful for your steganography needs.