Skip to Content
Mastering Python for Networking and Security
book

Mastering Python for Networking and Security

by José Manuel Ortega
September 2018
Intermediate to advanced
426 pages
10h 46m
English
Packt Publishing
Content preview from Mastering Python for Networking and Security

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Python for Networking and Security - Second Edition

Mastering Python for Networking and Security - Second Edition

José Manuel Ortega
Python for Cybersecurity

Python for Cybersecurity

Howard E. Poston, III

Publisher Resources

ISBN: 9781788992510Supplemental Content