The "base64" encoding specified by
RFC 4648 section 4,
Base 64 Encoding.
Uses "The Base 64 Alphabet" as specified in Table 1 of RFC 4648 for encoding and decoding. Encode operation does not add any line separator character. Decode operation throws if it encounters a character outside the base64 alphabet.
'=' is used for padding.