Encode text into emojis using Unicode steganography
Project description
🍹 emojito
emojis with a hidden agenda.
A Python library and CLI tool that lets you secretly encode text into ordinary emojis using Unicode steganography. Hide messages in plain sight and share them anywhere emojis are supported.
Inspired by Paul Butler's article "Smuggling Arbitrary Data Through an Emoji".
Installation
Install from PyPI:
pip install emojito-py
Or install the latest development version directly from GitHub:
pip install git+https://github.com/matijaoe/emojito.git@main#egg=emojito-py
on a mac?
On macOS, pipx is recommended for CLI tools:
# Install pipx if you don't have it
brew install pipx
pipx ensurepath
# Install from PyPI (recommended)
pipx install emojito-py
# OR install from GitHub (development version)
pipx install git+https://github.com/matijaoe/emojito.git@main#egg=emojito-py
This installs the package in an isolated environment while making the CLI commands globally available.
Usage
CLI
Encode
emojito encode '🍹' 'trust no one'
# 🍹󠅤󠅢󠅥󠅣󠅤󠄐󠅞󠅟󠄐󠅟󠅞󠅕️
Decode
emojito decode '🍹󠅤󠅢󠅥󠅣󠅤󠄐󠅞󠅟󠄐󠅟󠅞󠅕️'
# trust no one
Python
from emojito import encode, decode
secret = encode('🍹', 'trust no one')
print(secret) # 🍹󠅤󠅢󠅥󠅣󠅤󠄐󠅞󠅟󠄐󠅟󠅞󠅕️
decoded = decode(secret)
print(decoded) # trust no one
Limitations
- Some platforms may strip variation selectors from emojis
- Maximum message length is 255 bytes
- Works best with single emojis as carriers
Acknowledgements
- Paul Butler for the original concept
- Unicode Consortium for variation selectors
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file emojito_py-0.1.3.tar.gz.
File metadata
- Download URL: emojito_py-0.1.3.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba2755576ba93be1286c811477af0058cf16a72b4380478fd561d9c185a015b0
|
|
| MD5 |
0c50f4de951f9a2e4f1c5360670966cf
|
|
| BLAKE2b-256 |
d74d8bf1af01f3db7b2a0393ecd7ab40989d9ca0e431b3a421581a343ac7a8db
|
File details
Details for the file emojito_py-0.1.3-py3-none-any.whl.
File metadata
- Download URL: emojito_py-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92b18b46a4b5462eff0e883c75024ea2de19f5854554314e12d76da39a066154
|
|
| MD5 |
cba79ef7f11d78699b0c7787c0a19e2f
|
|
| BLAKE2b-256 |
76af6aa2413e43a664b8c03b4ca6c14a6fc03da3881749cd3f9df16e345999cb
|