i hide a text into an image by using lsb algorithm successfully..now i want to retrive the txt from the stegno image by the same algorithm..how can i retrieve the text

1 view (last 30 days)
stegenography using lsb algorithm
  1 Comment
Geoff Hayes
Geoff Hayes on 27 Dec 2014
I don't think that you use the same algorithm but one that just reverses the steps in the other. Try working backwards from the other code.

Sign in to comment.

Answers (1)

Parameswaran Bose
Parameswaran Bose on 27 Dec 2014
Hi, I have done message hiding with image by using java, since I don't have matlab coding knowledge, I will give you the text retrieval from image code in java
int byteCount = 0;
for(int i=0;i<fileBytes.length;i++){
for(int j=0; j<8; j++) {
fileBytes[i] = (byte)((fileBytes[i] << 1) | (colorBytes[byteCount] & 1));
byteCount++;
}
}
rgds Parameswaran Bose

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!