Crypto
crypto.decode
Shared
Decodes a base64 string
Syntax
local result = crypto.decode(input)Parameters
| Type | Name | Description |
|---|---|---|
string | input | Encoded string to be decoded |
Returns
| Type | Name | Description |
|---|---|---|
string / bool | result | Decoded string on successful execution, or false on failure |
Examples
local input = "SGVsbG8gV29ybGQ="
engine.print("Input:", input)
engine.print("Decoded:", crypto.decode(input))