how to hide audio file in image use lsb steganography ?
6 views (last 30 days)
Show older comments
I want to hide audio file inside image using lsb steganography but I dont know how to covert the wave to binary bit .I have program to hide binary image inside image . Can anyone help me to give advice and what I must put or change in program to become suitable for hiding audio? I put this code to convert the wave to byte but I didnt get any thing.
bytes = System.IO.File.ReadAllBytes('myAudioFile.wav');
0 Comments
Answers (2)
Image Analyst
on 9 Feb 2017
It's basically the same as hiding an image - it's just data. See my attached demo.
0 Comments
Walter Roberson
on 9 Feb 2017
You can also use
bytes = fileread('myAudioFile.wav');
However, you have to ask whether your requirement is to hide the contents of the file, or of the audio represented in the file? audio files can have headers including comments, artist name, genre, beats per minute, and so on.
If you use audioread() to read the file, then by default you would get floating point values normalized between -1 and +1. If, though, you use audioread() with the 'native' option then you will get the integer representation of the data (or possibly floating point, in some cases.)
0 Comments
See Also
Categories
Find more on Encryption / Cryptography in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!