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 in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Steganography in java" Watch "Steganography in java" New topic

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
In that i couldnt get "Bit_Conversion" and "Encode_text" part..
can anyone pl help me ASAP..
Thanks in Advance

-Thanks & Regards,

[ 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

Joined: Mar 22, 2000
Posts: 13037
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.

I agree. Here's the link:
subject: Steganography in java
It's not a secret anymore!