base64 Library

Encode and decode base64 data.

Synopsis

Usage in LUA:

encoded = base64.encode("plain text data")

plain_text = base64.decode(encoded)
base64.encode(input)

Encode input data to base64.

Parameters:input (string) – The input string to be encoded
Returns:(string) - The encoded string
base64.decode(input)

Decode base64 input data.

Parameters:input (string) – The input string to be decoded
Returns:(string) - The decoded string