Verril/encryption-app
0
Steganography Application
This is a Flask-based steganography application that allows users to hide and extract text data within images using the Least Significant Bit (LSB) technique. Deployed on Hugging Face Spaces using Docker, it provides a simple interface for steganography operations.
Features
- Hide text data in images (up to 2 sentences).
- Extract hidden text from stego-images as a readable
.txtfile. - Secure and isolated environment via Docker.
Setup
- Ensure Docker is installed on your local machine.
- Clone this repository or create a new Hugging Face Space with the Docker SDK.
- Push the
Dockerfile,README.md,app.py, andrequirements.txtto your Space repository. - Hugging Face will automatically build and deploy the container.
Usage
- Upload a cover image (PNG/JPG) and a text file (max 2 sentences) to hide data.
- Download the resulting stego-image.
- Upload the stego-image to extract the hidden text as a
.txtfile.
Notes
- The text file should contain a maximum of 2 sentences to fit within the image capacity.
- Ensure the cover image is large enough (e.g., 601x409 pixels) to accommodate the data.
Requirements
The requirements.txt file lists all necessary Python dependencies:
