Skip to main content

Encrypt Text using emojis!

Project description

๐Ÿฅท Cryptmoji

A simple emoji-based encryption-decryption library.

Downloads


๐Ÿ“ฅ 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


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.2.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

cryptmoji-2.1.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file cryptmoji-2.1.2.tar.gz.

File metadata

  • Download URL: cryptmoji-2.1.2.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.1 CPython/3.10.13 Windows/10

File hashes

Hashes for cryptmoji-2.1.2.tar.gz
Algorithm Hash digest
SHA256 abf9b41b9eb4b6fd5331d53bc087b7b5c7e6d849b058ded29dc875c84ea982e4
MD5 e3b2b845c615d9fe32dd0f947b39bc7f
BLAKE2b-256 11c6739b38a5e5e33dbf73fdd28efb8eb0317f650ba44db6c1a7f9ca4783f9d2

See more details on using hashes here.

File details

Details for the file cryptmoji-2.1.2-py3-none-any.whl.

File metadata

  • Download URL: cryptmoji-2.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.1 CPython/3.10.13 Windows/10

File hashes

Hashes for cryptmoji-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 340045f71c36aaf2558621492fccc9459134bf403d2235cf3b368c78a332a1bd
MD5 21969e957528d3fab997ab88e9ad9252
BLAKE2b-256 9c68ee1951699e8644ba278ed68a071570a7f9a12f126a5f5442b9ca06d30db2

See more details on using hashes here.

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