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

  sudo apt update
  sudo apt install ffmpeg sox libsox-fmt-mp3 libsox-fmt-opus
  (developer install:
   sudo apt install python3-dev build-essential libasound2-dev ffmpeg sox libsox-fmt-mp3 libsox-fmt-opus)
  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.2.tar.gz (40.4 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.2-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: as4pgc-1.2.tar.gz
  • Upload date:
  • Size: 40.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for as4pgc-1.2.tar.gz
Algorithm Hash digest
SHA256 60943d0e2d7377cfb8b225ab4c1926c4935d90190cb21444b5e777bb1b441b73
MD5 7c89bdf585e6adf92c452befd647ea05
BLAKE2b-256 32e185a13378ccd0d3af014be6e532cff8224283777a4a458c23bef1c681b240

See more details on using hashes here.

File details

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

File metadata

  • Download URL: as4pgc-1.2-py3-none-any.whl
  • Upload date:
  • Size: 39.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c314dcbb0cf3c980e27ae17e0341ce00b104a97af531d0379c4348b20a3b5b71
MD5 434e98e51e2d28a00d98ae9c0f5ec664
BLAKE2b-256 6c78013b26c0efc0608515ecffcdf3ddd1849bc9c85f3db0dc7154b47da82cf4

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