Home > Back-end >  LSB steganography steganographic information display, the binary data into TXT file, open the TXT gi
LSB steganography steganographic information display, the binary data into TXT file, open the TXT gi

Time:12-20

% extract hidden information
Picture=imread (' Hide_image. Tif);
Picture=double (Picture);
Picture_R=Picture (:, :, 1);
[m, n]=size (Picture_R);
FRR=fopen (' a.t xt ', 'w'); % in written way open only to write file
Msg_len=184;
P=1;
[the row, col]=randinterval (Picture_R msg_len, 1996);
For I=1: msg_len
If bitand (Picture_R (row (I), col (I)), 1)==1% bitwise and operation
Fwrite (FRR, 1, 'ubit1');
% result (p, 1)=1;
The else
Fwrite (FRR, 0, 'ubit1');
% result (p, 1)=0;
End
If p==msg_len
break;
End
P=p + 1;
End
The fclose (FRR);

Here to a.t xt is written in binary 0, 1. Then I want to open a.t xt see the data, but shall be the input for the binary, so open is garbled, please the great god I didn't understand what is knowledge

CodePudding user response:

Do you understand now? Say it to me?
  • Related