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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cryptmoji-1.2.0.tar.gz
(12.5 kB
view hashes)
Built Distribution
cryptmoji-1.2.0-py3-none-any.whl
(12.1 kB
view hashes)
Close
Hashes for cryptmoji-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37d47d5ac8ea95dbb30a3a9cfad23ca3deebe4bf0439d84bd39cc9cc85ed9ddc |
|
MD5 | d0699e1d20e1c31384aee468aebff4ce |
|
BLAKE2b-256 | d1225d7a68e60991abc8adeeacd5a34053d444e97212d6faf9fa57bc7e4c06e3 |