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) or inside uncompressed .WAV files.
pip install as4pgc
# install dependencies:
pip install -r requirements.txt
# in linux:
sudo apt install ffmpeg
sudo apt install sox libsox-fmt-mp3
sudo apt install libsox-fmt-opusFor Windows you can download ffmpeg from here: https://www.ffmpeg.org/
Hide a file of any type inside an .mp3 file:
as4pgc -w secret.zip carrier.mp3Use option -p to activate plots and track signal processing steps.
Use option -v to output details.
as4pgc -p -v -w secret.zip carrier.mp3Then recover the hidden file:
as4pgc -r stego.mp3Use the option -h for more information:
as4pgc -hConfiguration settings can be adapted in config.ini. For detailed documentation check the Article in Code Project. The link is provided further below.
https://pypi.org/project/as4pgc/
https://www.codeproject.com/Articles/5313626/Audio-Steganography-for-Pretty-Good-Concealing-AS4
https://github.com/ClarkFieseln/AS4PGC
(c) 2026 Clark Fieseln
This repository is licensed under the MIT license. See LICENSE for details.