1.0.1 • Published 8 months ago

base10 v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Base10 Encoder/Decoder

This algorithm works like Base64 but uses numbers only as the output encoded string.

Not sure why you would want it, tho.

Please note that due to the limited character set, the output strings are going too long.

Compatible PHP version here

Examples

const base10 = require('base10')

const original = "Hello, world!";
console.log('Original string: ' + original)

const encoded = base10.encode(original);
console.log('Encoded string: ' + encoded);

const decoded = base10.decode(encoded);
console.log('Decoded string: ' + decoded);