random_bytes
host callCapy
function random_bytes(count : u64) string
Description
random_bytes() returns random bytes. The result can contain binary data.
Use base64_encode() when you need printable text.
Parameters
count : number of bytes to request
Return Values
Random bytes as a string.
Example
Capy
var token := base64_encode(random_bytes(u64(16))) print(token, "\n")