how to hide audio file in image use lsb steganography ?

9 visualizzazioni (ultimi 30 giorni)
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');

Risposte (2)

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

Walter Roberson
Walter Roberson il 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.)

Categorie

Scopri di più su Encryption / Cryptography in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by