O'Reilly logo

Mastering Python for Networking and Security by Jose Manuel Ortega

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required