Cryptography
crypt.generatekey
random byte generator ile 32 rastgele raw bytes uretir ve bunlari Base64-encoded Lua string olarak dondurur.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
random byte generator ile 32 rastgele raw bytes uretir ve bunlari Base64-encoded Lua string olarak dondurur.
crypt.generatekey(): 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)