audio-steganography-try-hard-python
Assignments
- Each group can has at most 5 students.
- Each group has to prepare: python code that works, one 8-page report, one presentation in 7 minutes.
- The presentation date is Thursday, June 24 (Detail information will be sent later).
Members
Name | Role |
---|---|
Le Viet Anh | Coding |
Do Thanh Dat | Presentation |
Vu Tuan Phuong Nam | Co-coder |
Tran Bao Huy | Report |
Nguyen Tu Tung | Report |
Contributions
- Le Viet Anh:
- Do Thanh Dat:
- Vu Tuan Phuong Nam:
- Tran Bao Huy:
- Nguyen Tu Tung:
Requirements
- OS: Windows 10
- Python 3.7 installed (https://www.howtogeek.com/197947/how-to-install-python-on-windows/)
- Input audio: in WAV format (by default it's sample.wav)
- Non-unicode message
Project Explained
Console appearance
Project Structures
---input---sample.wav
|
---output---sample_out.wav
|
---audio_steganography.bat, audio_steganography.py, install-packages.bat, uninstall-packages.bat
Setup
To run this project, first double click on install-packages.bat to install required modules for the program. Then we run audio_steganography.bat to start the code.
Another way is to run the audio-steganography.exe inside audio_steganography_executable folder
The input wav file is located inside input folder, while the output wav file with encoded text could be found in output directory.
Inside audio_steganography.py we have 3 methods: encode, decode and start_steganography. We can adjust the path to input and output in start_steganography as shown below:
The main menu will look like this:
Encode
Enter 1 for encoding, then enter whatever message you want to hide inside sample.wav, for example 'Hello World' as followed:
Decode
To decode, simply enter 2 as below:
Exit
Algorithm
About WAV
WAV audio is a sequence of frames, each frame contains amplitude (loudness) information (represented in bytes) at that particular point in time. To produce sound, thousands of these frames are played in sequence to produce frequencies.
What is LSB
Least Significant bit also called RightMost Bit is a lowest bit of a binary number. For example in binary number 10010010, "0" is the least significant bit.
What is LSB-Steganography
LSB-Steganography is a steganography technique in which we hide messages inside an image by replacing Least significant bit of image with the bits of message to be hidden. By modifying only the first most right bit of an image we can insert our secret message and it also make the picture unnoticeable, but if our message is too large it will start modifying the second right most bit and so on and an attacker can notice the changes in picture.