Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.19 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.19 KB

RCNB.Lua

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

RCNB is available in various languages: Lua 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

luarocks install rcnb

Usage

local rcnb = require('rcnb')
-- encode ȐȼŃƅȓčƞÞƦȻƝƃŖć
print(rcnb:encode(string.byte('Who NB?', 1, -1)))
-- decode RCNB!
print(string.char(rcnb:decode('ȐĉņþƦȻƝƃŔć')))