Random\Engine\Secure::generate
PHP function
Edit on GitHub ✎
(PHP 8 >= 8.2.0)
Generate cryptographically secure randomness
Description
Random\Engine\Secure::generate(): string
Returns cryptographically secure randomness.
Sources
Parameters Parameters
Return Values
A string containing PHP_INT_SIZE cryptographically secure random bytes.