...
math:base64encode(str,
[encoding])
Given a string, str and an optional encodingof type [encoding], return the base64 string. If the encoding is omitted, it defaults to utf8.
...
Decode the given base64 string, str,with an encoding str returning a value with a type of [ encoding ] returning a value . If the encoding is omitted, it defaults to utf8.
...