Skip to content

StegaCrypt is a simple and interactive image steganography app built with OpenCV and Streamlit. It allows users to securely hide and retrieve messages within images using encryption techniques. πŸ”πŸ–ΌοΈ

Notifications You must be signed in to change notification settings

manas-pr/StegaCrypt-Secure-Image-Based-Steganography-Using-OpenCV-Streamlit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

StegaCrypt: Secure Image-Based Steganography Using OpenCV & Streamlit πŸš€πŸ”


Overview

StegaCrypt is an interactive image steganography application that allows users to securely hide and retrieve messages within images. Built using OpenCV, NumPy, and Streamlit, this tool ensures seamless encryption and decryption while maintaining the image’s visual integrity. The Image Steganography App uses a Least Significant Bit (LSB) Modification Technique for encoding and decoding hidden messages within images. Below is a breakdown of how the encryption and decryption process works:


πŸ” Encryption Steps:

  • Convert each character of the message to its ASCII value.
  • Embed the ASCII values into the RGB pixel values of the image.
  • Traverse the image in a cyclic order across R, G, and B channels.
  • Append a null character (\0) to mark the end of the message.
  • Save the modified image as the encrypted image.

πŸ”“ Decryption Steps:

  • Read pixel values in the same order as encryption.
  • Convert the extracted values back to characters using ASCII mapping.
  • Stop reading when the null character (\0) is found.
  • Display the decoded secret message. πŸš€

✨ Features

πŸ”’ Secure Message Encryption – Hide secret messages inside images without altering their appearance.

πŸ–ΌοΈ Seamless Image Processing – Uses OpenCV and NumPy to efficiently encode and decode messages.

⚑ Lightning-Fast Encryption & Decryption – Instantly embed and retrieve messages.

🎨 User-Friendly Interface – A simple and interactive UI powered by Streamlit.

πŸ“€ Easy File Handling – Upload, encrypt, download, and decrypt images effortlessly.

πŸ“Œ No Data Loss – Ensures accurate extraction of hidden messages without corruption.

πŸ› οΈ Lightweight & Portable – Runs smoothly on any system with minimal dependencies.

πŸ”‘ Password Protection (Future Enhancement) – Adds an extra security layer for hidden messages.


πŸ›  Requirements

Before running StegaCrypt, ensure you have the following installed:

  • Python 3.x
  • OpenCV (opencv-python)
  • NumPy (numpy)
  • Streamlit (streamlit)

πŸ“₯ Installation

  1. Clone the repository:
    git clone https://github.com/your-username/StegaCrypt.git
    cd StegaCrypt

About

StegaCrypt is a simple and interactive image steganography app built with OpenCV and Streamlit. It allows users to securely hide and retrieve messages within images using encryption techniques. πŸ”πŸ–ΌοΈ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages