Source code of the least-significant bit steganography example from the Bitwise Operators in Python article.
There are no external dependencies except for a Python interpreter.
Change directory to the current folder, where this README.md
file is located, and then execute Python module:
$ python -m stegano /path/to/bitmap (--encode /path/to/file | --decode | --erase)
For example, to extract a secret file from the attached bitmap, type the following:
$ python -m stegano example.bmp -d
Extracted a secret file: podcast.mp4