|
Algorithm 2. CI generation, WM, and EHR data extraction and decryption |
|
Input: Stego Image (SI) M × N, keys as initial conditions and control variables |
|
Output: Cover Image (CI) of size M × N, WM, EHR |
BEGIN
← key as an initial condition for hyperchaos
a′, b′, e′, t’, l1′, l2′, l3′ ← control parameters for hyperchaos
for n1 = 2: x12
=
= −b
end for
Obtain PRN sequence
Extricate the LSB bits from the non-seed pixels of the SI to form the encrypted WM and encrypted EHR data bit vectors
for rounds ← 1: length (extracted data vector)
Original data vector = extracted data vector ⊕ k
End
Obtain the WM and EHR from this data vector
Reshape the original WM to check if it has tampered
Reconstruct the CI using the seed pixels.
END
|