Cryptography
crypt.generatebytes
random byte generator でランダムバイトを生成し、Base64-encoded として Lua string で返します。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
random byte generator でランダムバイトを生成し、Base64-encoded として Lua string で返します。
crypt.generatebytes(size: number): string
local encoded = crypt.generatebytes(16)
local raw = base64_decode(encoded)
print(encoded)
print(#encoded)
print(#raw)