A python script for hiding text into images (steganography).
Project description
Steganopy
A python script for hiding text into images (steganography).
Installation
With git
GitHub:
git clone https://github.com/IrtsaDevelopment/Steganopy.git
With pip
PyPi
pip install idev-steganopy
Usage
Within the CMD/Terminal
If Installed with GIT
python Steganopy.py [-h] [-v VALUES] [-i INFORMATION] [-o OUTPUT] [-k KEY] source action
If Installed with PIP
steganopy [-h] [-v VALUES] [-i INFORMATION] [-o OUTPUT] [-k KEY] source action
Utilize -h
or --help
parameter for additional help.
positional arguments:
source Picture source location.
action Specifies whether to be encrypting or decrypting.
options:
-h, --help show this help message and exit
-v VALUES, --values VALUES
Values used for encryption. (default: rgb)
-i INFORMATION, --information INFORMATION
Information to be added when encrypting is selected for "action" argument. (default: None)
-o OUTPUT, --output OUTPUT
Specifies output file name. (default: None)
-k KEY, --key KEY Specifies key to use for xor operation. (default: None)
Additional Notes:
- The
-i
option is necessary if theaction
argument is set to e or encrypt - The following are accepted file extensions:
png
,jpg
,webp
,jpeg
Examples
python Steganopy.py exampleimage.png e -i "test text" -v r
- Will only utilize the red values in the image to put the information in.
python Steganopy.py exampleimage.png e -i "test text" -o "newname"
- Will output the file with the name "newname" instead of the default name of the original filename with -steganopy appended to it.
python Steganopy.py exampleimage-steganopy.png d -v r
- When decrypting, the values used in encryption must be the same, otherwise errors may be thrown.
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
idev-steganopy-1.1.0.tar.gz
(8.8 kB
view hashes)
Built Distribution
Close
Hashes for idev_steganopy-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50b4f5958041ccd1d37ae76a850ec62283b5366defbd719ee3d9fe60eb3272ae |
|
MD5 | f3b63567c82ead20846c8de191c6343f |
|
BLAKE2b-256 | 7aa133e2c44284d2492b5a696bf1a694bec38ce68896c42abf3dc371f78c4230 |