encode
function
Usage: (encode input output alphabet line-length)
Encodes bytes of input, writing Base 64 text on output. alphabet
is a 65-character String containing the 64 characters to use in the
encoding; the 65th character is the pad character. line-length is
the maximum number of characters per line, nil for no line breaks.
Source
encode-str
function
Usage: (encode-str s)
(encode-str s encoding line-length)
Encodes String in base 64; returns a String. If not specified,
encoding is UTF-8 and line-length is nil.
Source