This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes what exactly is audio steganography and how is it practically implemented? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

what exactly is audio steganography and how is it practically implemented?

shivi jain
Ranch Hand

Joined: Oct 18, 2009
Posts: 31
i just wanna know that what should be the exact output of a java code for audio steganography i searched for it a lot.but i am still unable to explain about my project topic to anyone especially my teacher.so kindly reply fast and be a little supportive.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
The previous time you asked this question, it was pointed out to you that a quick search on the web finds lots of algorithm descriptions and even ready-to-use source code. If this time around you expect different responses, you should start by telling us what you know already, what you have researched about your questions, and where, exactly, you still have problems understanding something. Nobody here is going to provide a complete writeup of the topic.


Ping & DNS - my free Android networking tools app
shivi jain
Ranch Hand

Joined: Oct 18, 2009
Posts: 31
while searching for this topic i just got this matter that steganography means hiding a piece of information for example in case of text we may use invisible ink and so on.but i am unable to understand how can we hide the content of a sound file and then how the reciever will get the exact meaning of this sound file.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11256
    
  16

spending about 2 minutes on google, here's what i learned...

steganography is the process of hiding secret information inside 'cover', non-secret information. You could write a letter in such a way that reading it looks like a boring "hi, how are you". However, if you take the first letter of every third word, it spell out "we escape at midnight".

Audio steganography would do the same thing. You'd have a .mp3 file (for example), and alter it subtly to include additional information, but leave it playable. Someone casually listening would hear the normal file.

But someone "in the know" could take the file and pull out the secret data.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
shivi jain
Ranch Hand

Joined: Oct 18, 2009
Posts: 31
[thanks but could you please send me some small source code by running which i could check its practical implementation.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
http://www.google.com/search?q=audio+steganography+java
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38472
    
  23
shivi jain wrote:[thanks but could you please send me some small source code . . .
No, sorry. You have already been told that.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11256
    
  16

shivi jain wrote:[thanks but could you please send me some small source code by running which i could check its practical implementation.


no - because i don't have one, and don't want to take the time to learn how to do it when that is something you could do.

i don't know anything about audio files, but i assume they are a bunch of bytes of data, like anything else. Sound is basically a pressure wave that is constantly changing, and you can graph the shape. maybe each byte is the magnitude of the pressure wave taken every 1/1000th of a second. (i am making this up as an example, i have no idea how it really works).

We agree on a sound file, and we each have a copy of the original, unaltered.

So now we have a bunch of data points. There will literally be thousands of them. Maybe you as the sender and i as the receiver agree on how to hide the data. you will choose random bits and raise their value by 1-26, depending on what letter of the alphabet we want to send. So a 1 second audio file would have 1000/8 = 125 characters hidden in it, assuming you change about 1 out of every 8 bytes, but it really doesn't matter.

it would slightly change what the audio file sounded like, but probably not enough for anyone to hear the difference.

You send the file. The CIA intercepts it, and they have no idea how or where to look. To them, it just sounds like a normal audio file. But when i get it, i subtract the value of every byte in my file from the value in the version you send me. The identical bytes would give 0, but the values you change would give me back the numbers 1-26, which i could then decode into letters and words.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18757
    
  40

fred rosenberger wrote:
no - because i don't have one, and don't want to take the time to learn how to do it when that is something you could do.


This actually sounds like a very interesting project to do as the "final" project (no pun intended). It is definitely *not* easy, and there is a lot of "room" to research. For example, it would really be interesting to learn the possible formats, and what are the legal bounds where they can be altered -- and not squeak, or break-up, etc.

If I had to choose a format, I would probably pick one that is uncompressed, though.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
s.palanivel rajan
Ranch Hand

Joined: Sep 22, 2009
Posts: 40
hey my final year college project also audio and image steganography...
this is not as tough as you think.. I can explain you very easily..
steganography and cryptography are two big fields for providing security to data..
cryptography is a technic used to convert the data to another form while steganography is a technic used to make our data invisible to others..
In image steganogrphy we have to hide our data inside a imge file
(i.e) we can hide one text file or some text messages inside a imge file(jpeg,gif..,etc)
text file+image file=stego message...
we can implement cryptography along with steganography to provide additional security...


With Regards,
S.Palanivel Rajan B.E.
shivi jain
Ranch Hand

Joined: Oct 18, 2009
Posts: 31
thanks for your help but can you please send me the source code on audio steganography?
W. Joe Smith
Ranch Hand

Joined: Feb 10, 2009
Posts: 710
I'm going to be nice about this, but I'm going to put it very bluntly:

Without showing some effort to write the code yourself, no one on this site is going to hand you pre-written code.

I'm not trying to be mean, its just been said several times and I'm making it as clear as possible.


SCJA
When I die, I want people to look at me and say "Yeah, he might have been crazy, but that was one zarkin frood that knew where his towel was."
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38472
    
  23
Agree with W Joe Smith.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38472
    
  23
W Joe Smith is correct. Not only will nobody write code for you, using such code would have a drastic effect on your marks; you would get a 0 overall for that project.

Since you have asked several times and we don't allow duplicate threads, I am closing this thread.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what exactly is audio steganography and how is it practically implemented?