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.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns raw secure random bytes.
crypt.random(size: number): string
local bytes = crypt.random(16)
print(#bytes, crypt.base64encode(bytes))
