File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Steganography Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Steganography" Watch "Steganography" New topic


sammy jaan

Joined: Apr 04, 2012
Posts: 11
Can anyone please give me some ideas for improving my project.At present I have implemented LSB for 1 bit.Will LSB for 2 bits be an improvement for my project?If not please tell me how can i improve it?. Please help me out.And if yes,tell me different ways as to how i can show the improvement.Can anyone tell me how to have a histogram for videos in java.Thanks in advancea
Stephan van Hulst

Joined: Sep 20, 2010
Posts: 4596

Hi Sammy, welcome to CodeRanch!

Please take a moment to consider what other people can possibly say to help you. We know nothing about your project, what you intend to do, what problems you're running into, what you've tried so far, etc.

TellTheDetails, please. Also, please write words in full, unless the meaning can be derived from the context. I can only think of one meaning for the abbreviation LSB, and it doesn't really make sense in that sentence.

The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.
Greg Charles

Joined: Oct 01, 2001
Posts: 2967

I think he means he's storing the hidden message in the least significant bit (of each byte? each word?), and he's asking if it would be better to use two bits.

What kind of file are you storing to, an image, sound, other binary? From what little I've seen of steganography, I'd guess one bit is more common. If you were altering two consecutive bits, you'd be more likely to see corruption. Also, depending on the file type, I think you have to seek past the header since any changes there might make the file unusable.
Tim Moores

Joined: Sep 21, 2011
Posts: 2413
The first question would be: what does this have to do with Scala (which this forum is all about)?

Regarding one bit vs. two bits: you shouldn't see corruption of the data, but you would see more disturbances in the data - the sound would be worse if it's an audio file, or the image would be more blurred if it's an image.

And I agree with Stephan - since we know nothing about your project, we have no way of suggesting improvements.
sammy jaan

Joined: Apr 04, 2012
Posts: 11
First of all I thank you all for the reply
ok guys, I am sorry for not explaining what my project is.I am doing my final year research project on steganography implemented using LSB i.e,Lease Significant bit .Yea,Greg Charles was right.I have tried for 2 bits in LSB,dont seem to find any major difference in the video/image/audio.I browsed in net for the code,finally got a project which implements video steganography using LSB for 2 bits.
When we are implementing our research project,we need to have some improvrments for our implementation and we must show the results where in we show our project is the better 1
1)Now either i have to step down for LSB for 1 bit
2)Or i need to improvize more.
3)So if you all have any idea about video steganography like which algorithm is the best and how it can be implemented please guide me
I agree. Here's the link:
subject: Steganography
It's not a secret anymore!