Vital.sandbox
Crypto

crypto.decode

Shared

Decodes a base64 string


Syntax

local result = crypto.decode(input)

Parameters

TypeNameDescription
stringinputEncoded string to be decoded

Returns

TypeNameDescription
string / boolresultDecoded string on successful execution, or false on failure

Examples

local input = "SGVsbG8gV29ybGQ="

engine.print("Input:", input)
engine.print("Decoded:", crypto.decode(input))

On this page