crypt.encrypt.
Returns
string
Base64 of a 32-byte key.
Example
Errors
Related
encrypt: use the key.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Generate a random key.
crypt.generatekey() -> string
crypt.encrypt.
local key = crypt.generatekey()
| Message | Condition |
|---|---|
the random byte source would not fill a 32 byte key | The random source failed. |
encrypt: use the key.