Code covered by the BSD License  

Highlights from
Steganography using LSB substitution

4.0

4.0 | 1 rating Rate this file 120 Downloads (last 30 days) File Size: 1.51 KB File ID: #41326
image thumbnail

Steganography using LSB substitution

by

 

The term steganography means “cover writing”

| Watch this File

File Information
Description

This is a simplest steganographic technique that embeds the bits of secret message directly into the least significant bit (LSB) plane of the cover image. In a gray-level image, every pixel consists of 8 bits. The basic concept of LSB substitution is to embed the confidential data at the rightmost bits (bits with the smallest weighting) so that the embedding procedure does not affect the original pixel value greatly.

Required Products Image Processing Toolbox
MATLAB
MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
05 Aug 2014 Raj Wankhede

Hello, I am new to this and I have my final year project on Steganography.
Can anyone guide me regarding this algorithm?

30 Jul 2014 Ashish Soni

Mr Karthik, No of LSB bit you have to subsitute is 1 to 4. u can check the effects by varying this no.

29 Jul 2014 karthik baskar

can u add an image of your output process
'Enter the no of LSB bits to be substituted'
what no. should be entered

14 Jun 2014 Akash Modi  
30 Jan 2014 ghassan78

thank you (Ashish Soni ) for this code , i test it but , i ask about no of LSB bits to be substituted (n) ,What is the value of (n) because when i run it ,appear this error :

Enter the no of LSB bits to be subsituted- 1
Error using bitor
Inputs must have the same size.

Error in Steg (line 15)
S = uint8(bitor(bitand(x,bitcmp(2^n-1,8)),bitshift(y,n-8))); %Stego

Contact us