hevertonfreitas/base65536

Implementartion of the base65536 library in PHP, as described by ferno/base65536

dev-master 2016-03-22 13:39 UTC

This package is auto-updated.

Last update: 2024-11-12 07:28:21 UTC


README

Build Status Latest Stable Version Total Downloads Latest Unstable Version StyleCI License

PHP implementation of the base65536 algorithm.

Installation

composer require hevertonfreitas/base65536

Usage

require 'vendor/autoload.php';

use \Hevertonfreitas\Base65536\Base65536;

$encodedString = Base65536::encode('hello world'); // Output: 驨ꍬ啯𒁷ꍲᕤ

$decodedString = Base65536::decode($encodedString); // Output: hello world 

Credits

Javascript original implementation: base65536.

License

The MIT License (MIT)