Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
 
TitleHide a message inside a picture (steganography)
DescriptionThis example shows how to hide a message inside a picture (steganography) in Visual Basic 6. The program hides information in the least significant bits of pseudo-randonly selected pixels.
Keywordssteganography, hidden message, code
CategoriesAlgorithms
 
For each bit in the message, the program picks a pseudo-random pixel in the image and pseudo-randomly picks the pixel's red, green, or blue component. It then sets the least significant bit in that component to 0 or 1 to encode the message bit.

See the code for further details. Also see the tutorial Steganography (Hidden in Plain Sight) for more information on steganography.

For more information on cryptography (but not steganography), see Bruce Schneier's excellent book Applied Cryptography.

 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated