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-2.0.0.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for cryptmoji-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a92e75dad881187f44eb2ebcda0ce8b0f7ad17a5ac55e54b299836b0867b738 |
|
MD5 | 1deb985593ce479a76c7624295c3ee33 |
|
BLAKE2b-256 | fe86c9eb43d1f8d3d23d7c7e55152c74c30b29444497879d4db4649b011cc5dd |