https://github.com/siddhesh-agarwal/cryptmoji
A simple emoji-based encryption-decryption library.
https://github.com/siddhesh-agarwal/cryptmoji
caesar-cipher emoji encryption encryption-decryption python python-library python3
Last synced: 2 months ago
JSON representation
A simple emoji-based encryption-decryption library.
- Host: GitHub
- URL: https://github.com/siddhesh-agarwal/cryptmoji
- Owner: Siddhesh-Agarwal
- License: mit
- Created: 2022-09-04T12:10:25.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-15T16:25:05.000Z (over 1 year ago)
- Last Synced: 2025-09-06T05:36:31.719Z (2 months ago)
- Topics: caesar-cipher, emoji, encryption, encryption-decryption, python, python-library, python3
- Language: Python
- Homepage: https://github.com/Siddhesh-Agarwal/cryptmoji/wiki/
- Size: 65.4 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# π₯· Cryptmoji
A simple emoji-based encryption-decryption library.

_______________________
## π₯ Installation
You can use the [pip](https://pypi.org/project/pip/) package manager to install the library.
```sh
pip install cryptmoji
```
or use [poetry](https://python-poetry.org/):
```sh
poetry add cryptmoji
```
> Check the [Documentation](https://siddhesh-agarwal.github.io/cryptmoji/)
## π Usage
```python
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
```sh
$ 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`.