Sign In

$randomBytes[]

Generates a string of random bytes, in hex

v1.5.0+ Requires Brackets

Usage

$randomBytes[]

Arguments

NameTypeRequiredDescription
length
NumberYesThe length of the hex string

Output

String

Was this page helpful?