techtrainer20/Stenography
概要
Python and OpenCV image steganography utility for embedding and extracting hidden messages in images.
デザイン・メディア計測したスター増加
- 24時間
- 履歴を収集中
- 7日間
- 履歴を収集中
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル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
- Place a target image named
mypic.jpgin the same directory asstego.py(or updatecv2.imread("mypic.jpg")instego.pyto your image path). - Run the script:
python stego.py
- 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.jpgand opens it (on Windows viaos.system("start encryptedImage.jpg")). Enter passcode for Decryption— Re-enter the passcode to print the decoded message (orYOU ARE NOT authif the passcode does not match).
Repository Contents
stego.py— Core Python image steganography scriptstegno.pptx— Project presentation slidesAICTE PPT Template (1).pptx— Presentation templateREADME.md— Project documentation
Educational Purpose
This project is intended strictly for educational and cybersecurity learning purposes to demonstrate basic image steganography concepts.
関連プロジェクトを探す
読み込み中…