Skip to main content

A easy method to encrypt/decrypt chinese letters based on thier PinYin

Project description

Ch encode

Author: Jeefy
Email: jeefyol@outlook.com / jeeefy163@163.com

The encode rule for encoding a chinese letter.
According to the pinyin of a letter

RULE

  • Chinese Words
    Use pypinyin to convert each letter into a pinyin.
    Notice that, there's no Chinese TONE here.
    So you just can guess what you have written by yourself.
  • English Words_ It's all can decode back to origin.
  • Punctuations
    Notice that the Chinese punctuations would change to English punctuations.
  • Specials
    The specials letters will convert into unicode number, and then save as the code starts with '6'.
    The followed codes are the number based on base 8 (0 -> 8).

Notice

It's not wise to encode a numeric str! It will be 4 times longer!

GUI

The gui can be opened with python -m chencode
Remember you should call it under the readme file folder.
The template for the text editor will fork into another package.
Waiting for the docs then...

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

chencode-0.0.1.tar.gz (12.4 kB view hashes)

Uploaded Source

Built Distribution

chencode-0.0.1-py2.py3-none-any.whl (12.3 kB view hashes)

Uploaded Python 2 Python 3

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