Skip to content

Foram2004/Steganography-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ–ΌοΈ Image Steganography Tool
A Python-based image steganography application that hides secret data within images using two different techniques: MSB-based image hiding and LSB-based text encoding.

🎯 Overview
Image steganography is the art of hiding information within images without noticeably altering their appearance. This project implements two distinct approaches:
Image-in-Image Hiding: Conceals one image within another using MSB (Most Significant Bit) technique
Text-in-Image Hiding: Embeds secret text messages using LSB (Least Significant Bit) technique

✨ Features
πŸ” Image-in-Image Steganography
βœ… Hides one image inside another of the same dimensions
βœ… Uses 4 MSBs from both images for seamless blending
βœ… Produces a single encrypted image containing both images
βœ… Basic decryption with random bit padding

πŸ“ Text-in-Image Steganography
βœ… Encodes text messages into image pixels
βœ… Uses LSB technique for minimal visual impact
βœ… Automatic capacity calculation
βœ… Stop sequence for reliable decoding
βœ… Support for various data types (strings, bytes, integers)

πŸ›‘οΈ Security Features
βœ… Visual imperceptibility
βœ… Data integrity validation
βœ… Automatic stopping criteria
βœ… Error handling for insufficient capacity

🧠 Techniques
Technique 1: MSB-based Image Hiding
Method: Combines 4 MSBs from both source and secret images
Output: Single image containing both images
Usage: encrypt() and decrypt() functions
Best For: Hiding images within images
Technique 2: LSB-based Text Hiding
Method: Replaces least significant bits of RGB values with secret data
Output: Encoded image with hidden text
Usage: encode() and decode() functions
Best For: Hiding text messages within images

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published