base64: implements rfc4648, the base64 encoding