question: public static String encodeBase64 ( String input ) { return DatatypeConverter . printBase64Binary ( input . getBytes ( StandardCharsets . UTF_8 ) ) ; }
target:  Creates a base 64 encoded string from the given input string.