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] [-t TEXT] [-f FILE] [-o OUTPUT] [-k KEY] source action
If installed with PIP:
steganopy [-h] [-v VALUES] [-t TEXT] [-f FILE] [-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)
-t TEXT, --text TEXT Text to be added when encrypting is selected for "action" argument. (default: None)
-f FILE, --file FILE File location of text to be added when encrypting is selected for "action" argument. (default:
None)
-o OUTPUT, --output OUTPUT
Specifies output file name. (default: None)
-e ENCODING, --encoding ENCODING
Specifies the base the information is to be or is encoded in. (default: binary)
-k KEY, --key KEY Specifies key to use for xor operation. (default: None)
Additional Notes:
- The
-tor-foption is necessary if theactionargument is set to e or encrypt - The following are accepted file extensions:
png,jpg,webp,jpeg - The following are accepted encoding bases:
binary,trinary,quaternary,quinary,senary,septenary,octal,nonal
Examples
steganopy exampleimage.png e -t "test text" -v r
- Will only utilize the red values in the image to put the information in.
steganopy exampleimage.png e -t "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.
steganopy exampleimage.png e -f exampletext.txt
- Will get text from the exampletext.txt file to use.
steganopy exampleimage.png e -e trinary
- Will encode the information in base 3 (trinary) instead of the default of binary.
steganopy exampleimage-steganopy.png d -v r
- When decrypting, the values used in encryption must be the same, otherwise errors may be thrown.
steganopy exampleimage-steganopy.png d -v r -o test
- When decrypting, you can also use the -o --output argument to have the information be outputed into the a text document with the specified name.
Metadata
Release files for idev-steganopy 1.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| idev_steganopy-1.4.1.tar.gz | 9.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| idev_steganopy-1.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.6 kB
Release files / idev_steganopy-1.4.1.tar.gz
| Download URL | idev_steganopy-1.4.1.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
854627d3c8804d4a14ff216c5e5e80e1f29c5f7940c976b028fdfef665a38f23
|
|
BLAKE2b-256 checksum How to use checksums |
ee9c6ea66d4ac65e5b83d0b85c4bce15e720117407fae48ee1875c7b02ac4788
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / idev_steganopy-1.4.1-py3-none-any.whl
| Download URL | idev_steganopy-1.4.1-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da6a3fbbafa608e912bc2abbd28e5000f566afc45487e890eaf25c857a18a1dd
|
|
BLAKE2b-256 checksum How to use checksums |
c99dd52083a70583f20ce62a0483cbe5e1189856fbd42ab50cb69230c29e77ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|