Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hiding Text in an Image Using Steganography

This project demonstrates how to hide and reveal secret text messages inside an image using Python and the Pillow library.

🔧 How It Works

  • stegano_hide.py: Hides a text string inside an image by modifying the blue channel of each pixel.
  • stegano_reveal.py: Reads the modified image and extracts the hidden message.

📁 Files Included

  • input.png: Original image used for hiding the message.
  • output.png: Image with hidden message embedded.
  • stegano_hide.py: Script to embed text into the image.
  • stegano_reveal.py: Script to extract hidden text.
  • README.md: Project description.

▶️ How to Run

  1. Install Pillow:

    pip install Pillow
    
  2. To hide the message:

    py stegano_hide.py
    
  3. To reveal the message:

    py stegano_reveal.py
    

📸 Terminal Output Screenshots

🔐 After running stegano_hide.py:

Hide message output

🔍 After running stegano_reveal.py:

Reveal message output

📝 Example Message

The text "hi,Aasritha" is hidden in output.png.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages