random_bytes
brefphp/bref
Supported Versions: PHP 7, PHP 8
Get cryptographically secure random bytes
<?php random_bytes
(
int $length
):
string