-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|608|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Snippet Home -> Variables


 
mike_g
Created : 11 August 2008
 
Language : Basic

Steganography Encoder

Hides information in plain sight

This snippet hides information withing a bitmap image. It uses only the standard library so the source can be compiled on its own w/o linking.

Its a command line tool that accepts 2 arguments: the first is a bitmap file; the second either another bitmap, or a text file.

If the second arg is not a bitmap it will run through each bit of data in the file flipping the least significant bit of the colour components of the pixels. The output is an image that appears the same, but has hidden info.

To retreive the hidden info pass both the original image and the modified image as paramaters and it will output the original text file.


 

Comments