converts a UTF-8-encoded string to a Base64 string.
Optional
if true make the result URL-safe
true
Base64 string
converts a UTF-8-encoded string to a Base64 string.