Skip to main content

A steganography tool for hiding a secret message in text using different unicode spaces

Project description

Ninam

PyPI - Python Version PyPI - Downloads

Ninam is a steganography tool to encode or decode a payload in a text file by replacing white space character. I created this programme because I remembered when I was younger that I liked to send people secret messages by hiding them in a text message.

How it works ?

All spaces in the text are recovered and replaced by other unicode space characters. If there is not enough space available, additional spaces will be added at the end. You can use 1-bit, 2-bit or 4-bit encoding. This means using 2, 4 or 16 white spaces. The larger the bitsize, the larger your payload can be, but at the risk of having slightly suspicious white spaces.

Installation

There is no dependencies and should work with all version of python>3.x

pip install ninam

Usage

    # By default, it used 2 bits
    ninam encode -i input.txt -p iloveyou > output.txt
    ninam decode -i output.txt 

    # Alternative bitsize
    ninam encode -b 4 -i input.txt -p iloveyou > output.txt
    ninam decode -b 4 -i output.txt  
    

From git

git clone git@github.com:dridk/ninam.git
python -m ninam 

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

ninam-1.0.1.tar.gz (8.3 kB view hashes)

Uploaded Source

Built Distribution

ninam-1.0.1-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

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