base64.decode

Syntax base64.decode (data)

Params data is a string containing the data to be decoded

Action Decodes the data using the base64 algorithm.

Returns A string containing the decoded data

Examples base64.encode ("mypassword", 0)
"bXlwYXNzd29yZA=="

base64.decode ("bXlwYXNzd29yZA==")
mypassword

Notes This verb implements the base64 encoding as defined in RFC 1521.

base64 encoding is used for MIME email, HTTP basic authentication, Frontier's Fat Page file format and to encode binary objects in XML-RPC and SOAP.

See also base64.encode

Discuss