Skip to content

Python implementation of Least-Significant-Bit steganography methodology

Notifications You must be signed in to change notification settings

m4l3k5/LSBstego

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LSBstego - COE426 Project

Least Significant Bit (LSB) Steganography.

In this technique we will hide text data inside of an image of a fixed size, and to achieve this we will manipulate the least significant bits of the pixels data of an image to our favor using Python

Features

  • Hides data in an image
  • Extract data from an image
  • Resize the image to make room for big data
  • Save the message in a txt file

Usage

Dependencies
Encoding message inside of an image
  1. use the LSB_encode.py file
  2. Make sure to specify the paths for the image, output path, text file which includes the message
  3. (Optional: Perfect ratio will only trigger when the data is bigger than the image, and it wil perserve the ratio, if disablied the application will try to preserve the ratio and use up almost all pixels)
  4. Run the application
Decoding message inside of an image
  1. use the LSB_decode.py file
  2. Make sure to specify the path for the image, and the output text to be save