LSB Based Text and Image Steganography Using AES Algorithm
LSB Based Text and Image Steganography Using AES Algorithm
LSB Encoder
Convert pixels to
binary
LSB Decoder
AES DECRYPTION
All operations in AES are byte oriented. 128 bit III. LSB combined with AES Algorithm
plaintext is arranged in 4x4 matrixes with 16bytes.
Substitute byte, shift rows, mix columns and add Our approach is to provide security for the secret
round key are the main steps in AES encryption [7]. information hidden inside the cover image performed
through LSB technique [6] with the help of AES
a) Sub Bytes Transformation algorithm. The first step is to read the secret data and
Sub byte is substitute byte where each byte the cover image. The next step is to hide the data into
from the cipher text is substituted from the the cover image which is done with the help of LSB
standard look up table of s-box which encoder. To protect the data from the intruder the
contains 256 elements. S-box is shown in resultant stego-image is given to AES encryption
fig. First hexadecimal values in byte indicate where each of the pixels get scrambled .To get back
row index and second hexadecimal value the stego-image AES decryption is done and the
indicate column index. output of this is provided to LSB decoder where the
hidden data is retrieved finally [8].
b) Shift Rows Transformation
In shift row transformation, the rows of the
matrix are circularly left shifted. Row 0is
kept constant; Row 1 is left shifted by 1
byte; Row 2 is shifted by 2 byte and finally
last row by 3 byte.
LSB encoder Images of various sizes are used and further resized
the image into 256x256 pixel values. We choose
image of type TIFF format because the size of the
stego-image is no change in comparison with the
AES Encryption original image [4]. TIFF format is lossless
compression for archiving images.
Secret data
TEXT INSIDE IMAGE
256-bit length
Figure 6, 7 shows the PSNR ratio and MSE for 8 –bit text
length which are inversely proportional to one another.