Skip to content
Projets

À propos

Python and OpenCV image steganography utility for embedding and extracting hidden messages in images.

Design et médias

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
Historique en cours
in 7 days
Historique en cours
in 15 days
Historique en cours
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Image Steganography Utility

A Python image steganography script built with OpenCV (cv2) that hides a secret text message inside pixel values of an image and retrieves it after passcode verification.

Overview

stego.py maps ASCII character values into the RGB channels of an image (mypic.jpg), saves the modified image as encryptedImage.jpg, opens the output image, and prompts for the passcode to decode and print the hidden message.

Requirements

  • Python 3.7+
  • OpenCV (opencv-python)

Install the dependency using pip:

pip install opencv-python

(Note: Install opencv-python, not cv2.)

Usage

  1. Place a target image named mypic.jpg in the same directory as stego.py (or update cv2.imread("mypic.jpg") in stego.py to your image path).
  2. Run the script:
python stego.py
  1. Follow the interactive prompts:
    • Enter secret message: — Type the text message to embed.
    • Enter a passcode: — Set a passcode for decryption.
    • The script writes encryptedImage.jpg and opens it (on Windows via os.system("start encryptedImage.jpg")).
    • Enter passcode for Decryption — Re-enter the passcode to print the decoded message (or YOU ARE NOT auth if the passcode does not match).

Repository Contents

  • stego.py — Core Python image steganography script
  • stegno.pptx — Project presentation slides
  • AICTE PPT Template (1).pptx — Presentation template
  • README.md — Project documentation

Educational Purpose

This project is intended strictly for educational and cybersecurity learning purposes to demonstrate basic image steganography concepts.

Explorer des projets similaires

Chargement…