A simple emoji-based encryption-decryption library.
pip install the library:
pip install cryptmoji
Check the Documentation
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!'