Skip to main content

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-all python3-tk python3-pyqt5
    
  • For development (optional):

    sudo apt install python3-dev build-essential libasound2-dev ffmpeg sox libsox-fmt-mp3 libsox-fmt-all 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

as4pgc-1.5.tar.gz (40.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

as4pgc-1.5-py3-none-any.whl (39.7 kB view details)

Uploaded Python 3

File details

Details for the file as4pgc-1.5.tar.gz.

File metadata

  • Download URL: as4pgc-1.5.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

Hashes for as4pgc-1.5.tar.gz
Algorithm Hash digest
SHA256 ded99265951acd6520bc77fb0fd789b68e96843d948b9121c46bdfdeb2a05045
MD5 d8349d13d972a2089d9ca5ba542cebb4
BLAKE2b-256 9c7f28bb8f4dee58ba584ecc93706a4278cda32484ffdfe6ae8367b7a38e1ab1

See more details on using hashes here.

File details

Details for the file as4pgc-1.5-py3-none-any.whl.

File metadata

  • Download URL: as4pgc-1.5-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

Hashes for as4pgc-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6c808e4f008183f5c86ba6daa38db471c788da484e407f84d03fd0475f4fb1c5
MD5 1d335483e5608dd39678aab06ce0d968
BLAKE2b-256 4776a20ff61cba9fe04961d81583508d89cb7261591c2286243d29289e5a74f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page