DEV Community

Discussion on: Strings: A Neat Hexdump Alternative

Collapse
 
skhmt profile image
Mike

Huh, I've never seen text just appended to an image or binary to hide it.
They usually just modify the least significant bit of each color channel in each pixel and use those to construct a new binary, so 2 pixels per byte/character (r, g, b, a).

Collapse
 
rpalo profile image
Ryan Palo

Yeah, I was looking for a quick and dirty way to do an example, but you're right. There are a lot more common and better ways to hide text in images. I knew they were out there, but I appreciate you explaining it here. Thanks!