Base64
Base64 encoding and decoding functions are available both globally and under the crypt.base64
namespace.
encode
Encodes data to Base64.
Example
local encoded = crypt.base64.encode("Hello World")
-- Or globally
local encoded = base64_encode("Hello World")
decode
Decodes Base64 encoded data.