Skip to content

chr233/RCNB.python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RCNB.Python Codacy Badge PyPI License

The world is based on RC. Thus, everything can be encoded into RCNB.

RCNB is available in various languages: Python JavaScript C PHP Pascal (more..)

Why RCNB?

RCNB vs Base64

Base64 RCNB
Speed ❌ Fast ✔️ Slow, motivate Intel to improve their CPU
Printable ❌ On all OS ✔️ Only on newer OS, motivate users to upgrade their legacy OS
Niubility ❌ Not at all ✔️ RCNB!
Example QmFzZTY0Lg== ȐĉņþƦȻƝƃŔć

Install

>$ pip install rcnb

Usage

import rcnb

print(rcnb.encode("Who NB?"))
# ȐȼŃƅȓčƞÞƦȻƝƃŖć

print(rcnb.decode("ȐĉņþƦȻƝƃŔć"))
# RCNB!

Shell is also support:

python3 -m rcnb -e "Who NB?"
# ȐȼŃƅȓčƞÞƦȻƝƃŖć

python3 -m rcnb -d "ȐĉņþƦȻƝƃŔć"
# RCNB!

输入输出重定向仍然有Bug,正在努力修复