44 $generator = $factory->getLowStrengthGenerator();
45 $token = hash($hash, $generator->generate($bytes));
60 public static function generateKey($hash =
'sha512', $bytes = 128)
63 $generator = $factory->getMediumStrengthGenerator();
64 $token = hash($hash, $generator->generate($bytes));
static generateOneTimeToken($hash= 'sha512', $bytes=64)
static generateKey($hash= 'sha512', $bytes=128)