This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Steganography in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Steganography in java" Watch "Steganography in java" New topic
Author

Steganography in java

Hamsagayathri Palanisamy
Ranch Hand

Joined: Mar 10, 2008
Posts: 44
Hi All,
I'm trying to encrypt the message in the gif image.
is there any algorithm for that to do?
I'm able to get create new image ,and even i retrieved the byte[] of the image.
I want to know how to add the "message" in that byte[].
As we know that messages needed to added at LSB inorder to retaining the
original image.I dont know how to add at LSB.

When i was surfing thro google i came across the contents at http://www.dreamincode.net/forums/showtopic27950.htm
In that i couldnt get "Bit_Conversion" and "Encode_text" part..
can anyone pl help me ASAP..
Thanks in Advance

-Thanks & Regards,
Hamsa

[ March 11, 2008: Message edited by: Hamsagayathri Palanisamy ]

[ UD: fixed URL ]
[ March 11, 2008: Message edited by: Ulf Dittmer ]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12753
    
    5
To learn how to do bitwise operations in Java, try a tutorial such as this one.

You will find the Integer method toBinaryString() to be helpful in visualizing what is happening.

Bill
 
wood burning stoves
 
subject: Steganography in java
 
Similar Threads
Problem with 2D array of JButton
overriding and overloading
practice site required
Crop an Image
Creating and saving txt file to a remote server