A small example package
Project description
stegpy
A program for encoding information in image and audio files through steganography.
On the left, a house with a steganographically hidden image. On the right, the extracted hidden image of a cat. It is revealed by removing all but the last significant bit of each color component in the host image.
Supported host formats:
- PNG
- BMP
- GIF
- WebP
- WAV
Images in a different format are automatically converted to PNG. Different audio formats are not supported at all.
Dependencies:
- numpy
- cryptography
- Pillow (PIL fork)
Install:
$ pip3 install stegpy
How to use:
- Hide a message or file:
$ stegpy "Hello World!" image.png
- Extract it:
$ stegpy _image.png
- Encrypt:
$ stegpy "Hello World!" image.png -p
Enter password (will not be echoed):
Verify password (will not be echoed):
$ stegpy _image.png -p
Enter password (will not be echoed):
Hello World!
- More options:
$ stegpy -h
To do:
- Add docstrings
- Allow encoding across multiple files
- Support JPEG & FLAC as hosts
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stegpy-0.0.1.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file stegpy-0.0.1.tar.gz
.
File metadata
- Download URL: stegpy-0.0.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 700f1818f8e9082fc1c6c4a9e1a4b884f743b3c87c811a1f2b12def6bfd7bd49 |
|
MD5 | 5b4ea50e85df86dcfe44ad47152f3a1a |
|
BLAKE2b-256 | c7688bedf466452b0ee305b51f879fc27d7d59c7094ab6b389ba9878e749f36e |
File details
Details for the file stegpy-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: stegpy-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2db901c7873b809428a0c4c2fdb72233cfad52fbd006b6524b624f779405354d |
|
MD5 | 6770249b83df639e78fc908668a100a9 |
|
BLAKE2b-256 | ef80c127a260cc523d9e7ffeb054876e387539ca624685d77a70149f1f6ec372 |