Encodes a string into a Base64-encoded string. The string is first converted into a UTF-8 array and then encoded as Base64 string.
a string to encode.
Base64-encoded input
Encodes a string into a Base64-encoded string. The string is first converted into a UTF-8 array and then encoded as Base64 string.