cryptmoji 2.1.2
π₯· 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.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.