• (5 Pages)
  • +
  • « First
  • 3
  • 4
  • 5

Steganography Rate Topic: ***** 9 Votes

#61 Felipe_Lemos  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 10-February 14

Posted 11 February 2014 - 08:30 AM

Hi Willian,
Do you have any tutorial for steganography in audio mp3?
Thanks
Was This Post Helpful? 0
  • +
  • -

#62 hbilaiya  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 23-April 14

Posted 23 April 2014 - 09:37 AM

Hey, I know this is a very old post but I need some immediate help! So please reply ASAP.
My problem is that I want to damage the image pixels while encoding text into it. I am able to achieve this by using:
(ANDing by 1000 or anything other than 1)

private byte[] encode_text(byte[] image, byte[] addition, int offset)
	{
		if(addition.length + offset > image.length)
		{
			throw new IllegalArgumentException("File not long enough!");
		}
		
		for(int i=0; i<addition.length; ++i)
		{
			//loop through the 8 bits of each byte
			int add = addition[i];
			for(int bit=7; bit>=0; --bit, ++offset)
			{
				
				//int b = (add >>> bit) & 1; //original code (no distortion of pixels)
				
                                int b = (add >>> bit) & 1000; //1000 distorts image pixels
                                
				image[offset] = (byte)((image[offset] & 0xFE) | b );
			}
		}
		return image;
	}



Problem occurs while decoding the image. I can't figure out the way to decode the distorted image. This might be due to my lack of understanding the code.

But I really need to accomplish this. So anyone with a solution, please reply ASAP.

Thanks for the code BTW!
Was This Post Helpful? 0
  • +
  • -

#63 Ananthy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 08-September 14

Posted 08 September 2014 - 09:51 AM

We are not able to decode.
While decoding we get an alert box saying IMAGE COULD NOT BE READ and few more alert boxes following that.
What should we do now.??
Was This Post Helpful? 0
  • +
  • -

#64 kiranki  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 28-November 14

Posted 28 November 2014 - 11:54 PM

in stegnography_controller im getting an error
error:cannot find symbol
decode=decode_text(get_byte_data(image));
please tell me how to execute this code correctly
Was This Post Helpful? 0
  • +
  • -

#65 T_K_94  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 26-December 14

Posted 26 December 2014 - 06:32 AM

Hello, I'm trying to decode a text from a .png picture.
I tried encoding then decoding the original picture using this code and it's working perfectly.
The problem is, I can't decode the picture that's already encoded.
The picture to decode is attached.
Thank you for your help.
Was This Post Helpful? 0
  • +
  • -

#66 Syamss  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 12-December 15

Posted 12 December 2015 - 03:21 PM

View PostWilliam_Wilson, on 12 May 2007 - 02:24 PM, said:

No problem, i've always enjoyed all forms of encryption and cryptography, but i don't always have time to pursue it. I will admit the idea of modifying the least significant bit is not really my idea, it has been used in many programs over the years, and it is the most logical choice if you understand the importance of each bit.


*I also wanted to take the opportunity to properly describe how the GUI works, as it is simple and not explained anywhere, lol.
Menu Options:

Encode: type or paste the text to encode into the textarea, and press "Encode Now!", this will prompt you with a jfilechooser, which is to pick your image to encode, then you are prompted for an output file name (this does not include the extension, as it will always be .png). If the image is encoded correctly, the end result image will be saved, and then displayed in the decode view.

Decode: will prompt to choose an image, .jpg are available, but it will not work, so select a .png. Once open, select "Decode Now!" and if the image has a hidden message it will be displayed in the textarea of encode view.


I have also been adding some encryption abilities to the text, before it is encoded, both encryptions thus far are bit shifting operations. If there is a demand for it, i can post .jar files of any newer versions i create.


Thanks for the awesome tutorial. Actually I want to ask about the decode part. Instead of displaying the secret message into the text area, is it possible to let it visible at the encoded image? Since the LSB actually changing the pixels of the image right?
Was This Post Helpful? 0
  • +
  • -

#67 AishwaryaA  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 22-January 16

Posted 22 January 2016 - 06:03 AM

Sir, I tried running it in Netbeans and the IDE showed some errors and warnings. The private variables in main() were shown as errors too and I don't know what is wrong. Can you please tell me how to execute it?
Was This Post Helpful? 0
  • +
  • -

#68 musclenerdxx  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 29-June 16

Posted 29 June 2016 - 07:26 PM

Hi William,

I tried running the code that you provided and noticed its not decoding any text from the image.

I ran a debugger on the code, specifically on decode_text and noticed that is not grabbing the length from the image and the length stays 0. As a result rest of the byte and the second loop to retrieve the data never actually runs.

Can you please reply back to let me know what might be causing this?

Thank you so much for your help.
Was This Post Helpful? 0
  • +
  • -

  • (5 Pages)
  • +
  • « First
  • 3
  • 4
  • 5