Development Tools:
The project was done using Python and Jupyter Notebook. Some libraries include, but are not limited to:
Project-related information:
Click the "Visit" button above to see the project implementation.
In this project, I created a Python application in Jupyter Notebook that embeds secret messages in audio files, as well as a decoding algorithm to extract the embedded message.
The application follows the following series of steps:
- Read wave audio file
- Read frames and convert to byte array
- Append dummy data to fill out the rest of the bytes. The receiver shall detect and remove these characters.
- Convert text to a bit array
- Replace the LSB of each byte of the audio data with one bit from the text bit array
- Get the modified bytes
- Write bytes to a new wave audio file
The decoding algorithm follows the following series of steps:
- Open the encoded audio file using wave
- Get the audio data
- Get the LSB of each byte using the bitwise method
- Add the LSBs together into pairs of 8 so that they can be converted into asci characters
- Split the text based on the # character and save the 1st section of the split
- Print the hidden message