code: private static String convert_to_string(byte[] bytes) {
          if (null == bytes) {
              return null;
          }
          if (0 == bytes.length) {
              return EMPTY_STRING;
          }
          try {
              return new String(bytes, STRING_CONVERSION_CODE);
          } catch (UnsupportedEncodingException e) {
              logger.logp(Level.SEVERE, PasswordUtil.class.getName(), "convert_to_string", "PASSWORDUTIL_UNSUPPORTEDENCODING_EXCEPTION", e);
              return null;
          }
      }
docs: Convert the byte[] data to a String using the UTF-8 encoding.
  
  @param bytes
  @return String - null if input is null or if UTF-8 is not supported