Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Steganography in java

 
Hamsagayathri Palanisamy
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic