Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
random byte generator で 32 個のランダム raw bytes を生成し、Base64-encoded として Lua string で返します。
crypt.generatekey(): string
key
string
local key = crypt.generatekey() local raw = base64_decode(key) local ciphertext, iv = crypt.encrypt("hello world", key) print(key) print(#raw) print(ciphertext, iv)