Text Steganography
Table of Contents
General Info
This project deals with hiding text message inside a casual text. Also called as Text Steganography. It is extremely useful technique for conceling text messages. In this project there are two function namely:
- 'encode'
This method encodes the text also called as secret message inside a covering message. It generates a key which is saved in key.txt file after executing the method. This key.txt file is later used for decoding the message. - 'decode'
This method decodes the text from the covering message that is previously encoded by the encode function. This function uses the key.txt file generated from the encode method.
Technologies
A list of libraries used within the project:
- No additional modules are required for this package
Example
Note:
Covering text and the Encoded text should be only stored in the .txt file.
Example to encode the text message in a covering message
from TextStega import TextStega
key = TextStega().encode(CoverFilePath, EncodeFilePath)
# CoverFilePath(str) : "path of the txt file which contains the covering text"
# EncodeFilePath(str) : "path of the txt file which contains the encoded message"
Example to decode the text from the covering message
from TextStega import textStega
decoded_text = TextStega().decode(CoverFilePath, keyFilePath)
# CoverFilePath(str) : path of the covering txt file.
# keyFilePath(str) : path of the key.txt file generated by the encode method
FAQs
A list of frequenctly asked questions
-
What is text steganography?
Steganography is the technique of hiding secret data within an ordinary, non-secret, file or message in order to avoid detection. More information can be found on this Wikipedia page. -
Where can I use this package?
This tool is used to craftfully hide the data in plain texts. So this package can be used to hide secret text messages by encoding them in covering text messages to maintain the secrecy. -
How long should be my covering text?
The covering text should be sufficiently long to hide all the characters of the secret message. If not then the algorithm throws an exception.
Metadata
Release files for TextStega 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| TextStega-0.1.3.tar.gz | 4.2 kB | Without provenance | Details for TextStega-0.1.3.tar.gz |
Release files / TextStega-0.1.3.tar.gz
| Download URL | TextStega-0.1.3.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a658a5387ac8017ea42673d03906d085dca06d4c24b665ce75dc3aa5eeff5c5
|
|
BLAKE2b-256 checksum How to use checksums |
1970db4a3b573ddc2eff2036d5ce67122eed7897d0f940bf98db8287fa7b3404
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.0.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.8
|
Security for TextStega 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.