🥷 Cryptmoji
A simple emoji-based encryption-decryption library.
📥 Installation
You can use the pip package manager to install the library.
pip install cryptmoji
or use poetry:
poetry add cryptmoji
Check the Documentation
📝 Usage
from cryptmoji import encrypt, decrypt
text = "Hello, world!"
key = "random_key" # makes the encryption stronger (optional)
# The encrypt and decrypt functions return the value
decrypted = decrypt(encrypted, key=key)
print(decrypted)
# '🎽🏉🏭🏣🏴🎐🍵🐀🏧🐉🏴🏈🎆'
# The encrypt and decrypt functions change the value in-place too
decrypted = decrypt(encrypted, key=key)
print(decrypted)
# 'Hello, world!'
Command line tool
Usage
$ cryptmoji encrypt "Hello World" --key "test"
🎿🏑🏸🏹🐁🍻🏑🐁🐄🏤🏪
$ cryptmoji decrypt "🎿🏑🏸🏹🐁🍻🏑🐁🐄🏤🏪" --key "test"
Hello World
NOTE: key is an optional parameter. If not provided, the value defaults to
None.
Release files for cryptmoji 2.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cryptmoji-2.1.2.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cryptmoji-2.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.9 kB
Release files / cryptmoji-2.1.2.tar.gz
| Download URL | cryptmoji-2.1.2.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
abf9b41b9eb4b6fd5331d53bc087b7b5c7e6d849b058ded29dc875c84ea982e4
|
|
BLAKE2b-256 checksum How to use checksums |
11c6739b38a5e5e33dbf73fdd28efb8eb0317f650ba44db6c1a7f9ca4783f9d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.1 CPython/3.10.13 Windows/10
|
Release files / cryptmoji-2.1.2-py3-none-any.whl
| Download URL | cryptmoji-2.1.2-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
340045f71c36aaf2558621492fccc9459134bf403d2235cf3b368c78a332a1bd
|
|
BLAKE2b-256 checksum How to use checksums |
9c68ee1951699e8644ba278ed68a071570a7f9a12f126a5f5442b9ca06d30db2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.1 CPython/3.10.13 Windows/10
|