April 2020
Intermediate to advanced
438 pages
12h 2m
English
Execute the following steps to hide a secret message inside the Lena image using LSB data hiding and use (non-blind) steganalysis to detect the secret message:
cover = Image.open('images/lena.png') stego = lsb.hide("images/lena.png", 10*"Python Image Processing \ Cookbook - LSB data hiding with Stegano") stego.save("images/lena-secret.png")
print(lsb.reveal("images/lena-secret.png"))
Read now
Unlock full access