Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/izcoser/stegpy
Simple steganography program based on the LSB method.
https://github.com/izcoser/stegpy
audio crypto cryptography file hide image lsb python stegano steganography
Last synced: 9 days ago
JSON representation
Simple steganography program based on the LSB method.
- Host: GitHub
- URL: https://github.com/izcoser/stegpy
- Owner: izcoser
- License: mit
- Created: 2018-08-22T20:51:57.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-02T09:36:01.000Z (about 1 year ago)
- Last Synced: 2024-05-21T18:11:09.380Z (26 days ago)
- Topics: audio, crypto, cryptography, file, hide, image, lsb, python, stegano, steganography
- Language: Python
- Homepage:
- Size: 6.75 MB
- Stars: 107
- Watchers: 4
- Forks: 10
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-ctf-resources - Stegpy - Simple steganography program based on the LSB method. (Steganography)
README
# stegpy
A program for encoding information in image and audio files through steganography. Any type of data can be encoded, from raw strings to files, as shown below:
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 least significant bit of each color component in the host image.
***
## Supported host formats
* PNG
* BMP
* GIF
* WebP
* WAVImages in a different format are automatically converted to PNG. Different audio formats are not supported at all.
***
## Dependencies
* numpy
* cryptography
* Pillow (PIL fork)
***
## Installation
```sh
pip3 install stegpy
```
***
## Usage:
### Hide a message or file:
```sh
stegpy "Hello World!" image.png
```
### Extract it:
```sh
stegpy _image.png
```Data is encoded without any protection by default, but it can be encrypted with the ```-p``` flag:
### Encrypt:
```sh
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:
```sh
stegpy -h
```
***
## To do
* Add docstrings
* Allow encoding across multiple files
* Support JPEG & FLAC as hosts