README.md 676 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
# Bitwise Operators in Python

Source code of the least-significant bit **steganography** example from the [Bitwise Operators in Python](https://realpython.com/python-bitwise-operators/) article.  

## Installation

There are no external dependencies except for a Python interpreter.

## Running

Change directory to the current folder, where this `README.md` file is located, and then execute Python module:

```shell
$ 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:

```shell
$ python -m stegano example.bmp -d
Extracted a secret file: podcast.mp4
```