Skip to main content

A package for Text steganography

Project description

Text Steganography


Table of Contents

  1. General Info
  2. Technologies
  3. Example
  4. FAQs

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

  1. 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.

  2. 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.

  3. 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TextStega-0.1.3.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file TextStega-0.1.3.tar.gz.

File metadata

  • Download URL: TextStega-0.1.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for TextStega-0.1.3.tar.gz
Algorithm Hash digest
SHA256 4a658a5387ac8017ea42673d03906d085dca06d4c24b665ce75dc3aa5eeff5c5
MD5 96783e0bc398d3115896078b907bc742
BLAKE2b-256 1970db4a3b573ddc2eff2036d5ce67122eed7897d0f940bf98db8287fa7b3404

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page