Skip to content

Latest commit

 

History

History
50 lines (27 loc) · 915 Bytes

base64.md

File metadata and controls

50 lines (27 loc) · 915 Bytes

Utility functions for encoding and decoding strings with base64.

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

base64.decode

base64.decode(data)

Decode a base64 encoded string.

PARAMETERS

Name Description Default Value
data base64-encoded string none

RETURNS

A string containing the decoded data

base64.encode

base64.encode(data)

Base64 encode a string.

PARAMETERS

Name Description Default Value
data string to encode none

RETURNS

The base64-encoded string