encodeBase64String

Encodes this string to Base64 format, returning the result as a string.

Return

A Base64-encoded string


Encodes this byte array to Base64 format, returning the result as a string.

Return

A Base64-encoded string with padding ('=') characters