code: public static String encodeBase64(String value) {
          return new String(Base64.encode(value.getBytes(Charsets.UTF_8)));
      }
docs: Encode a String to base64
  
  @param value The plain String
  @return The base64 encoded String