Audio Steganography: compress, encrypt and hide a secret file inside an audio file (MP3, WAV, OGG, FLAC, OPUS, ..)
Project description
as4pgc
Hide files inside audio files.
Use "Audio Steganography for Pretty Good Concealment" to compress, encrypt, and hide small files of any type inside compressed audio files (e.g. MP3, FLAC, OGG, OPUS) or inside uncompressed files (.WAV).
Installation
-
Install system dependencies:
sudo apt update sudo apt install ffmpeg sox libsox-fmt-mp3 libsox-fmt-opus python3-tk python3-pyqt5
-
For development (optional):
sudo apt install python3-dev build-essential libasound2-dev ffmpeg sox libsox-fmt-mp3 libsox-fmt-opus python3-tk python3-pyqt5
-
Upgrade Python tooling and install the package:
pip install --upgrade pip setuptools pip install as4pgc
For Windows you can download ffmpeg from here: https://www.ffmpeg.org/
WARNING: the current version was not yet tested on Windows, e.g. installation and use of sox.
How to use it?
Hide a file of any type inside an .mp3 file:
as4pgc -w secret.zip carrier.mp3
Use option -p to activate plots and track signal processing steps.
Use option -v to output details.
as4pgc -p -v -w secret.zip carrier.mp3
Then recover the hidden file:
as4pgc -r stego.mp3
Use the option -h for more information:
as4pgc -h
Configuration settings can be adapted in config.ini. For detailed documentation check the Article in Code Project. The link is provided further below.
PyPi Project
https://pypi.org/project/as4pgc/
Article in Code Project
https://www.codeproject.com/Articles/5313626/Audio-Steganography-for-Pretty-Good-Concealing-AS4
Article in GitHub
https://github.com/ClarkFieseln/AS4PGC
License
(c) 2026 Clark Fieseln
This repository is licensed under the MIT license. See LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file as4pgc-1.4.tar.gz.
File metadata
- Download URL: as4pgc-1.4.tar.gz
- Upload date:
- Size: 40.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f0abcb5b124e6aebff6845a7f8e0149bcf9447ce80b57db14ffe994959ff6a6
|
|
| MD5 |
2bb3a56af309c30781780ad0bbf43638
|
|
| BLAKE2b-256 |
add31eaf6c01c38a61d205e7aa5cd66c86f5c75d7a4c96c79d522db39f48c14d
|
File details
Details for the file as4pgc-1.4-py3-none-any.whl.
File metadata
- Download URL: as4pgc-1.4-py3-none-any.whl
- Upload date:
- Size: 39.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18e8e45932c820df02763c9249c7c1de9aef3ff1d737e116dc19dfd16b2a3d42
|
|
| MD5 |
a24a41e970e4d806e8b1b941fefa4a4d
|
|
| BLAKE2b-256 |
bbaf19809c1dc156249faed7ed726e753d085725fc695b51882f1524a3a12219
|