how to hide audio file in image use lsb steganography ?

9 次查看(过去 30 天)
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');

回答(2 个)

Image Analyst
Image Analyst 2017-2-9
It's basically the same as hiding an image - it's just data. See my attached demo.

Walter Roberson
Walter Roberson 2017-2-9
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.)

类别

Help CenterFile Exchange 中查找有关 Encryption / Cryptography 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by