Ninam is a steganography tool for encoding and decoding a payload in a text by replacing white space characters. 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 or an email.
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 which doesn't work everywhere.
There is no dependencies. It should work with all version of python>3.x
pip install ninam
# By default it uses 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
git clone [email protected]:dridk/ninam.git
python -m ninam