Ninam
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
Metadata
Release files for ninam 1.0.1
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 |
|---|---|---|---|---|
| ninam-1.0.1.tar.gz | 8.3 kB | Without provenance | Details for ninam-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ninam-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for ninam-1.0.1-py3-none-any.whl |
Total release size: 13.1 kB
Release files / ninam-1.0.1.tar.gz
| Download URL | ninam-1.0.1.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1298a9d1373b0cb812b816b45987b24972c5dee2001d5a7c42fdc13d199bf6ce
|
|
BLAKE2b-256 checksum How to use checksums |
d8efc6bf81d4f669c0b49b445ce79322025087a9c5dcddf8a932c3ed91f2a641
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.6
|
Release files / ninam-1.0.1-py3-none-any.whl
| Download URL | ninam-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62dbc14bbfa10cee88915d9f2f503df2c45c2a7a2c207ef020a0b8a36aab6781
|
|
BLAKE2b-256 checksum How to use checksums |
74e662494582e8f5fc0569c7c972d17db4d746cefd4e2d2eef6e9c7bb458c7bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.6
|
Security for ninam 1.0.1
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.