public bytes ([mixed $len]) Generates a random binary string The Random::bytes method returns a string
public getToken () Generates a pseudo random token value to be used as input’s value in a CSRF check
public checkHash (mixed $password, mixed $passwordHash, [mixed $maxPassLength]) Checks a plain text
public uuid () Generates a v4 random UUID (Universally Unique IDentifier) The version 4 UUID is purely random (except the version)
public isLegacyHash (mixed $passwordHash) Checks if a password hash is a valid bcrypt’s hash
public setWorkFactor (mixed $workFactor) ...
public destroyToken () Removes the value of the CSRF token and key from session
public getDefaultHash () Returns the default hash
public getWorkFactor () ...
public base58 ([mixed $n]) Generates a random base58 string If $len is not specified, 16 is assumed. It may be larger
Page 2 of 5