Skip to content

Implementation of image steganography using reverse LSB and secret message extraction

License

Notifications You must be signed in to change notification settings

falakian/Image-steganography-using-Inverted-LSB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image-steganography-using-LSB

This method is based on hiding the message in the least significant bit (LSB) of the image. The goal is to minimize the changes in the stego image. LSB-based encryption is one of the simplest encryption methods. In this method, the secret message is hidden in the low-value bits of the desired pixels. The changes made in this method cannot be detected by the eye, but this method often affects the histogram of the image and can be detected by hidden mining algorithms.

In this method, first the image pixels are selected to hide the message and then the complement of the message is hidden in the low value bits of the selected pixels.

To solve some of the problems of the LSB method and to minimize the changes, the pixels are grouped based on the values ​​of the second to eighth bits. In each group, the ratio of changed pixels to unchanged pixels is calculated if this ratio is greater than one. The low value bits of that category are reversed and the changes are minimized

Run-code

The Codes should be Run in the following order

  • Hide_image.m
  • Extract.m Be careful to enter the addresses of files and images correctly

Results

Cover_Image.png Stego_image.png
Cover_Image Stego_image
Original Image Extracted Image
IUT Extract

About

Implementation of image steganography using reverse LSB and secret message extraction

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages