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-10-20 13:31:11 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";