Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Guys,

I want to hide text data in another text file through java on android platform, so any one have know how we can hide data in text file using stegnography techniques like LSB algorithm.

Thanks in advance.
Posted
Comments
Sergey Alexandrovich Kryukov 25-Sep-13 0:38am    
I wonder, why?
—SA

1 solution

LSB cannot help you if you want to hide text (or any data) in text, it can be applicable to images, or, at least, to something with relatively big "words" each carrying relatively small piece of information, like in case of pixels. If you try to do anything like that with text, it will be dramatically mangled. I hope it looks obvious.

Some approaches are explained here: http://en.wikipedia.org/wiki/Steganography#Digital_Text[^].

—SA
 
Share this answer
 
Comments
maheshpardeshi 25-Sep-13 1:26am    
is there any other way to hide text in text rather than LSB
Sergey Alexandrovich Kryukov 25-Sep-13 1:38am    
Not quite a correct question. There is no LSB method for texts, so you would need to ask "is there any method at all?". All methods I'm aware of are listed in the "Digital text" section of the Steganography article I just referenced. Consider them or invent something else.

For example, my own, very simple idea: hide a little of information in a really long text with scattered spelling mistakes in it. These days, such mistakes are very usual on the Web, so they may attract little attention. Each mistake may carry a byte (or even a bit) of data, on some criteria. The processing software should use a dictionary to check up spelling and be able to locate "close" spelling. Spelling mistake location, or some number inferred from "correct" and "misspelled" letter may be considered as some code point. Simple, nearly stupid idea, but it will work.

—SA

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