Click here to Skip to main content
15,905,419 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Please help me to write a code for testing the methods for Stenography in Console application..
Posted
Comments
[no name] 30-Aug-13 6:37am    
Please do not spam the message board. Ask a proper question.

1 solution

The testing methods are pretty simple, at least to start with:
1) Set up a set of images, and sample files to "hide"
2) Loop though each image, and "hide" each sample file in it, saving them to new image files.
3) Then loop through each of the saved image files, and "extract" the hidden data. Compare it to the files your hid in the first place.

If you can successfully match each file, byte-for-byte from each image, then you have a reasonable idea that the code works. If not, then back to development with you!

If they are fine, then you need to look at the output files visually and see if you can detect any "tampering" if you can't, then you're probably there.

It's worth using a range of images, in various sizes, and a range of inputs of different types - including all nulls, and all 0xFF bytes, as well as binary and text based data.
 
Share this answer
 
Comments
muneebalikiyani 30-Aug-13 8:38am    
+5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900