https://github.com/rafiibrahim8/asteg
Steganography : Hiding message/file in audio
https://github.com/rafiibrahim8/asteg
audio steganography
Last synced: 16 days ago
JSON representation
Steganography : Hiding message/file in audio
- Host: GitHub
- URL: https://github.com/rafiibrahim8/asteg
- Owner: rafiibrahim8
- License: mit
- Created: 2020-04-23T15:14:48.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-07-29T16:49:40.000Z (over 2 years ago)
- Last Synced: 2025-04-12T13:08:30.668Z (16 days ago)
- Topics: audio, steganography
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# asteg
#### Steganography : Hiding text or file inside an audio# DESCRIPTION
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.
# INSTALLATION
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.
# USES
###### Hiding 'Hello World!' inside infile.mp3. The resultant file is outfile.wav
####
```sh
$ asteg -p -o outfile.wav -i infile.mp3 -t 'Hello world!'
```
###### Hiding secret.odt inside infile.mp3. The resultant file is outfile.wav
####
```sh
$ asteg -p -o outfile.wav -i infile.mp3 -f secret.odt
```# META
The 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 | |# DEPENDENCY
- pydub
- numpy
- scipy# CURRENT LIMITATIONS
- Does not support encryption. (Has plan to add)
- Generates uncompressed wav file. Which is too big.