final public function randomNumber($bytes = 32)
    {
        $random_data = openssl_random_pseudo_bytes($bytes, $cstrong);

        if (!$cstrong || !$random_data) {
            return false;
        } else {
            return bin2hex($random_data);
        }
    }
final public function randomNumber($bytes = 32)
    {
        $random_data = openssl_random_pseudo_bytes($bytes, $cstrong);

        if (!$cstrong || !$random_data) {
            return false;
        } else {
            return bin2hex($random_data);
        }
    }
final public function randomNumber ( $ bytes = 32 ) { $ random_data = openssl_random_pseudo_bytes ( $ bytes , $ cstrong ) ; if ( ! $ cstrong || ! $ random_data ) { return false ; } else { return bin2hex ( $ random_data ) ; } }
Generates a high-quality random number suitable for
use in cryptographic functions and returns hex value.

@param int
@return string|bool
Generates a high - quality random number suitable for use in cryptographic functions and returns hex value .