This program can be used for hiding text or a file inside an audio file. The program utilizes the high-frequency component of an audio file to embed its payload. Which is almost undetectable with the human ear. You will never notice any drop in audio quality.
From a command line enter the command to install asteg
pip install asteg
You need to have python 3 installed. asteg won't run on python 2.
$ asteg -p -o outfile.wav -i infile.mp3 -t 'Hello world!'$ asteg -p -o outfile.wav -i infile.mp3 -f secret.odtThe data is formatted first before embedding inside the audio. First a 10 byte header is added at the beginning of the data. The header format is as follows:
| Number of Bytes | Description |
|---|---|
| 2 | 'aS' Always |
| 1 | |
| 4 | Payload length |
| 1 | Length for filename for file embedding (7bit) + encryption flag (1bit) |
| 1 | Version of used program |
| 1 |
- pydub
- numpy
- scipy
- Does not support encryption. (Has plan to add)
- Generates uncompressed wav file. Which is too big.