Results 1 to 9 of 9
Thread: Steganography
- 04-07-2012, 02:39 PM #1
Member
- Join Date
- Apr 2012
- Posts
- 4
- Rep Power
- 0
Steganography
The above is the Code which implements LSB technique.But am not able to grasp this code.Can any1 Please tell me the step by step working of this code.Thanks in advanceJava Code:private static void embedBytes(byte[] bytes) { int size= bytes.length; for(int i=0; i< size; i++) { byte1= bytes[i]; for(int j=6; j>=0; j-=2) { byte2= byte1; byte2>>= j; byte2&= 0x03; byte3= byteArrayIn[inputOutputMarker]; byte3&= 0xFC; byte3|= byte2; byteOut.write(byte3); inputOutputMarker++; } } }
-
Re: Steganography
Rather than asking others to comment on an uncommented code fragment, why not tell us what you do know, what you've tried and what specifically you don't understand. Surely you've studied the many links that Google has provided on this subject, right?
For more on how to ask smart questions here, please see this link.
For forum members, please see this link.
- 04-07-2012, 03:11 PM #3
Re: Steganography
Can you ask the programmer that wrote the code to document it for you to help you understand what it does. Otherwise Add a println statement after every statement that you do not understand. Have it print out the results of the statement. Make a small test program, create a byte array with values and Execute the method and look at what was printed.
If you do not understand how a statement generated the printed output, copy the output and the statement here with your question.
There are several variables used in the method that are not defined: byteArrayIn, inputOutputMarker and byteOut
You will need to define them as class variables in your test program.Last edited by Norm; 04-07-2012 at 03:14 PM.
If you don't understand my response, don't ignore it, ask a question.
- 04-11-2012, 01:22 PM #4
Member
- Join Date
- Apr 2012
- Posts
- 4
- Rep Power
- 0
Steganography
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 improvemnt for my project?If not please tell me how can i improve it?.Pls 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 advance:)
- 04-11-2012, 04:26 PM #5
Re: Steganography
Next time, don't abandon one thread, without so much as the courtesy to reply to the responses, and start a new one for the same question. I've merged the two threads.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 04-11-2012, 04:51 PM #6
Member
- Join Date
- Apr 2012
- Posts
- 4
- Rep Power
- 0
Re: Steganography
@Darryl: okie.I am totally messed up with my project.It would be kind of u all if u help me out:)
- 04-11-2012, 05:20 PM #7
Re: Steganography
Can you explain your problem?
If you don't understand my response, don't ignore it, ask a question.
- 04-12-2012, 03:18 AM #8
Member
- Join Date
- Apr 2012
- Posts
- 4
- Rep Power
- 0
Re: Steganography
Ok.I am doing my final year research project on steganography implemented using LSB i.e,Lease Significant bit .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 improvements 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
Now is LSB for 1 bit a good solution or should i go for some other algorithm.Please help me out
- 04-12-2012, 04:00 AM #9
Similar Threads
-
Steganography in java
By raj.mscking@gmail.com in forum New To JavaReplies: 1Last Post: 02-02-2012, 12:23 PM -
Tutorial Steganography
By raj.mscking@gmail.com in forum New To JavaReplies: 0Last Post: 02-02-2012, 10:27 AM -
Steganography
By AedonetLIRA in forum New To JavaReplies: 5Last Post: 01-11-2011, 04:25 PM -
Steganography
By munish in forum Advanced JavaReplies: 1Last Post: 07-28-2009, 06:58 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks