CoolFace
Apppublic

Verril/encryption-app

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
App README

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 .txt file.
  • Secure and isolated environment via Docker.

Setup

  1. 1.Ensure Docker is installed on your local machine.
  2. 2.Clone this repository or create a new Hugging Face Space with the Docker SDK.
  3. 3.Push the Dockerfile, README.md, app.py, and requirements.txt to your Space repository.
  4. 4.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 .txt file.

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: