StegoSafe is a web-based application that allows users to securely hide secret messages inside digital images using LSB Steganography and AES-256 encryption.
- Python 3.9+
-
Navigate to the
StegoSafedirectory:cd StegoSafe -
Install the required dependencies:
pip install -r requirements.txt
To use the AI Image Generation feature, you need to set your OpenAI API key in app.py:
OPENAI_API_KEY = "YOUR_OPENAI_API_KEY_HERE"If you don't have a key, the application will generate a random noise image instead.
-
Start the Flask server:
python app.py
-
Open your web browser and go to:
http://localhost:5000
- Enter your secret message.
- Select an encryption method (None, Caesar, or AES-256).
- Enter a key/password.
- Choose to upload an image or generate one using AI.
- Click "Encrypt & Generate Stego-Image" to download the image with the hidden message.
- Upload the Stego-Image.
- Select the decryption method used.
- Enter the key/password.
- Click "Extract Message" to reveal the secret.