Skip to content

Flask website for implementation of paper on text-based steganography i.e. hiding a secret message in a cover message and sending it over social media which in turn can be revealed.

Notifications You must be signed in to change notification settings

sakship31/Text-steganography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


🕵️‍♂️ Text Cloak 🕵️‍♀️

The Cloak of Invisibility for your texts

Text Cloak is a steganography technique implemented in python, to hide secrets inside text by encrypting the secret before cloaking it with special unicode invisible characters. It can be used to safely watermark strings, invisible scripts on webpages, texts on social media or for any other covert communication. Completely invisible!

Resources

The following paper was implemented for generating and embedding Zero Width Characters in cover message and extracting the secret message from the cover message and generating ascii from extracted Zero Width Characters.

  • Taleby Ahvanooey, Milad & Li, Qianmu & Hou, Jun & Dana Mazraeh, Hassan & Zhang, Jing.
AITSteg: An Innovative Text Steganography Technique for Hidden Transmission of Text Message via Social Media.
IEEE Access

Features

  • Protect your invisible secret using passwords
  • Cryptographically secure by encrypting the invisible secret using AES-256-CTR encryption and decryption.
  • Uses Invisible characters in unicode characters that works everywhere in the web - Tweets, Gmail, WhatsApp, Telegram, Instagram, Facebook, and many more!
  • Completely invisible, uses Zero Width Characters instead of white spaces or tabs.
  • The secret message which is encrpted using password can be embedded in the cover message by the sender and extracted from the cover message and decrypted using the same password by the receiver.

Functions implemented

  • Embed algorithm: To embed the secret message into the cover message by converting it into invisible zero width unicode characters.
  • Extract algorithm: To extract the secret message from the cover message by converting it back into ascii characters from invisible zero width unicode characters.
  • AES-encryption: We take password for encrypting the secret message before embeding it,the key for encryption is generated from the password based key derivation function PBKDF2.
  • AES-decryption: For decrpytion,we need to pass the same password used while encryption since AES-256 is a symmetric cipher.

Demo


Screensots


Enter secret message to be sent, cover message and passowrd


On clicking Hide button, the cover message with embedded secret message is displayed and copied to clipboard


Enter received embedded cover message and mutually decided password


On clicking Reveal button, the secret message is displayed

Installation

Install the dependency for AES by running:

    pip install pycryptodomex

Run using Command Prompt

Clone the repository and run the following commands-

    set FLASK_ENV=development
    set FLASK_APP=app.py
    flask run

Tech stack

Backend : Python3,Flask
Frontend : Html,CSS

Developed with ❤️ by Sakshi Shelar, Nishi Shah and Sakshi Pandey

About

Flask website for implementation of paper on text-based steganography i.e. hiding a secret message in a cover message and sending it over social media which in turn can be revealed.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published