50. Steganography

Steganography is the process of hiding data inside a file, image, video, or another piece of data. For example, in watermarking you hide a copyright statement inside an image to later show that you own the rights to that file.

Write a program that defines Bitmap extension methods to perform steganography. The program should let the user load an image, hide a message in it, and save the result in a new image file. It should also be able to load an image and recover a message hidden inside it.

Hide the data in the low-order bits of the image's pixels. You don't need to encrypt the message for this problem; just hide it.

 

Use a lossless image format such as BMP or PNG. A lossy format such as GIF or JPG will destroy the message.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.189.171.193