talex/simple-hash

Encode number to hash and decode hash into number

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/talex/simple-hash

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

This package is auto-updated.

Last update: 2025-10-20 15:36:41 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";