The Xmf\Random class produces random strings for use as tokens or keys.
Xmf\Random
All methods may throw an \Exception if a suitable random number cannot be generated. See the random_bytes()arrow-up-right documentation for more information.
\Exception
Return a hashed random number suitable for use as a one time token.
Return a hashed random number suitable for use as a medium strength key.
Last updated 7 years ago