Encrypt Text using emojis!
Project description
๐ฅท 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
.
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.1.1.tar.gz
(6.6 kB
view details)
Built Distribution
File details
Details for the file cryptmoji-2.1.1.tar.gz
.
File metadata
- Download URL: cryptmoji-2.1.1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.1 CPython/3.10.13 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 125655254bc7aa2c9ea187efb460b769dcca94d2be0f92336bafb8896627623d |
|
MD5 | 210265a52e0c4c013c35faffed3a35e7 |
|
BLAKE2b-256 | c487cd35a2e069ecde833c0955d7429ab3c50ebe575f37a62df37fbaefcc4bc1 |
File details
Details for the file cryptmoji-2.1.1-py3-none-any.whl
.
File metadata
- Download URL: cryptmoji-2.1.1-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.1 CPython/3.10.13 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92e402abe78e64eabfe50363c2bf894b521f75a7d836d3e214edfd1cf09f0458 |
|
MD5 | 75a4ecd6439b37c9979f0f43a4dcd9fe |
|
BLAKE2b-256 | 4c9e4ca953694063e9e6940399c16fb2618e3facdf12c7520decce848d164d6b |