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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file chencode-0.0.1.tar.gz.

File metadata

  • Download URL: chencode-0.0.1.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.3

File hashes

Hashes for chencode-0.0.1.tar.gz
Algorithm Hash digest
SHA256 59d395dc869361018c081fef4844bef657ef67de87311fd0a274cba4c0dd7b85
MD5 1f303202e8de99d961426d3519b5cf33
BLAKE2b-256 e8362807794e444728b1bab4a8d05493f511a2e39464598ef49c1270f2227619

See more details on using hashes here.

File details

Details for the file chencode-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: chencode-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.3

File hashes

Hashes for chencode-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 44491cc61efeb34e67dcc86749f379c8404c9a9f8b3354b3eee7fb05da61e78d
MD5 f3b2f9f117dc44cbc5e300f5dc899a32
BLAKE2b-256 fa4fbb09d9d25fbbdf4968c53232fbf7790c4844bcc34eac99e0f9e61f5e8a9f

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