Skip to main content

Encrypt Text using emojis!

Project description

🐱‍👤 Cryptmoji

A simple emoji-based encryption-decryption library.


📥 Installation

pip install the library:

pip install cryptmoji

📝 Usage

from cryptmoji import Cryptmoji

text = "Hello World!"
key = "random_key" # makes the encryption stronger (optional)

a = Cryptmoji(text, key=key)
# The encrypt and decrypt functions return the value
encrypted = a.encrypt()
print(encrypted)
# 🎚️🎨🎼🎲🏀🍯🎓🎼🎹🏂🎸🍤

# The encrypt and decrypt functions change the value in-place too
a.decrypt() 
print(decrypted)
# Hello World!

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

cryptmoji-2.0.0.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

cryptmoji-2.0.0-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page