rcnb-rs 
The world is based on RC. Thus, everything can be encoded into RCNB.
RCNB is available in various languages: Rust 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
Use Wapm (with Wasmer)
$ wapm install soeur/rcnb-rs
Use Cargo
$ cargo install rcnb-rs
From source
$ cargo build --release
// look ./target/release
From source (to wasi)
$ rustup target add wasm32-wasi
$ cargo build --release --target=wasm32-wasi
// look ./target/wasm32-wasi/release
From releases
Usage
In code
use rcnb_rs::{decode, encode};
fn main() {
let content = "rcnb";
let encoded = encode(content);
let decoded = decode(&encoded);
assert_eq!(content, decoded);
}
Cli
$ rcnb-rs --help
Usage: rcnb-rs [<content>] [-d] [-e]
RCNB!
Options:
-d, --decode decode
-e, --encode encode
--help display usage information
Use wapm
$ wapm run rcnb-rs -- --help
Example
Encode
$ rcnb-rs rcnb!
ɌcńƁȓČņÞŔć
Decode
$ rcnb-rs -d ɌcńƁȓČņÞŔć
rcnb!
Reads from stdin
$ cat test.txt | rcnb-rs
or
$ rcnb-rs <test.txt