Hash Class
Create object
Utilize the constructor of the Hash
class:
$hash = new Hash();
Init
Init the class:
$hash->init(string|int $raw) : void
Get raw
Get the raw:
$hash->getRaw() : string|int
Get hash
Get the hash:
$hash->getHash : string
Validate
validate raw again hash:
$hash->validate(string|int $raw, string $hash) : boolEdit on GitHub