Function

random_bytes

Synopsis

random_bytes(int): string

Area
Runtime\PS\Crypto\Random\random_bytesareas

Description

random_bytes returns $length cryptographically secure random bytes, throwing when $length is less than 1.

Usage

$value = random_bytes($arguments);
$fn = random_bytes(...);

See also