talex/simple-hash

Encode number to hash and decode hash into number

Maintainers

Package info

github.com/alexandrutanasie/talex-simple-hash

pkg:composer/talex/simple-hash

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

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

This package is auto-updated.

Last update: 2026-03-20 16:43:33 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";