Basically, I need something that works similar to $hash = Hash::make('string')
and Hash::check('string', $hash)
but does not produce a result as large as (60 characters).
or
$hash = password_hash('string')
andpassword_verify('string', $hash)
with pure PHP
How to generate a token from a string and then check if the generated token matches the generating string?