Utility functions for encoding and decoding strings with base64.

See https://en.wikipedia.org/wiki/Base64.

base64.decode

Decode a base64 encoded string.

PARAMETERS

NameDescriptionDefault Value
database64-encoded stringnone

RETURNS

A string containing the decoded data

base64.encode

Base64 encode a string.

PARAMETERS

NameDescriptionDefault Value
datastring to encodenone

RETURNS

The base64-encoded string