talex/simple-hash

Encode number to hash and decode hash into number

v1.0 2023-10-20 11:18 UTC

This package is auto-updated.

Last update: 2024-09-20 13:17:23 UTC


README

To install SimpleHash run the command:

composer require talex/simple-hash
use  Talex\SimpleHash\Str;

$number = 111;
$encoderDecoder = new Str();

$encoderDecoder->encode($number);

echo "Encoded: {$encoderDecoder->getEncodedString()}\n";

$encoderDecoder->decode();
echo "Decoded: {$encoderDecoder->getDecodedString()}\n";