Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 231 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 231 Bytes

Hash36

A simple encoder/decoder of numbers to short strings and back

Usage

$h36 = new Hash36();
var_dump($h36->encode(1)); //string 'BKPXGK' (length=6)
var_dump($h36->decode('BKPXGK')); //string '1' (length=1)