Introduction to Steganography

Steganography (http://en.wikipedia.org/wiki/Steganography) is a specific branch of cryptography that allows us to hide a secret message into public information, that is, into apparently innocuous information.

One of the main techniques for hiding information is use the Least Significant Bit (LSB).

When passing through each pixel of the image, we obtain an RGB triplet composed of whole numbers from (0) to (255), and since each number has its own representation in binary, we convert that triplet into its equivalent in binary; for example, the pixel formed by (148, 28, 202) is binary equivalent to (10010100, 00011100, 11001010).

The goal is to edit the least significant bit, that is, the one that is last to the ...

Get Mastering Python for Networking and Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.