Skip to content

kanrichan/rcnb.lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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('ȐĉņþƦȻƝƃŔć')))

About

Everything can be encoded into RCNB with Lua.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages