|
Algorithm 1. Image IP, EHR, and WM Encryption using HC, and LSB embedding of data bits in DCP |
|
Input: Grayscale M × N Secret Image, a hyperchaotic map with the initial values and control parameters a, b, e, t, l1, l2, l3. |
|
Output: Stego Image (SI) of size M × N |
BEGIN
← initial condition for hyperchaos
a, b, e, t, l1, l2, l3 ← control parameters for hyperchaos
for n = 2: x2
=
= −b
end for
Calculate , , and as state variables to perform key sequences and
concatenate the values as
, ],
Obtain PRN sequence as
resize the input image
for rounds ← 1: x
for rounds ← 1: y
Interpolate using Equations (1)–(4)
end for
end for
Data vector=[WM: EHR]
for rounds ← 1: length (Data vector)
Data=Data vector ⊕ k
end
Start embedding data in LSB’s of DCP pixels of the cover image by encrypted data vector (Data)
END
|