Input: Message M, Cover image Ic

Output: Embedded stego-image Is

Initialization: Read Ic

Preprocessing of M:

Read M

Apply AES encryption to get cipher text, Ct

Binarize Ct

Preprocessing of Ic :

Resize Ic to a square matrix of pixel values Pij

Divide Ic into 8 × 8 blocks

Apply DCT in each block, Puv

Generate an 8 × 8 quantization table, Qt

Quantize each block by Puv /Qt and round them, Quv

Find DC values by Quv Quv((u*8)-7,(v*8)-7) and binarize

Embedding in LSB:

Modified cipher text, Mc Ct ♁ Pij

for each Quv

Q u v : = Embed Mc replacing LSBs of Quv

end for

Apply inverse DCT in Q u v

Reconstruct the image