Aliases

None.

Arguments

number
required
The number of raw random bytes. Numeric input is converted to an integer before the non-negative check.

Returns

string
Raw random bytes, without Base64 encoding.
Numeric input is converted to an integer before the non-negative check. A negative converted count raises; zero returns an empty string. Fractional input is truncated. Unlike generatebytes there is no explicit 1 MiB cap in this wrapper.

Example