docs: private static byte[] convert_to_bytes(String string) {
          if (null == string) {
              return null;
          }
          if (0 == string.length()) {
              return EMPTY_BYTE_ARRAY;
          }
          try {
              return string.getBytes(STRING_CONVERSION_CODE);
          } catch (UnsupportedEncodingException e) {
              logger.logp(Level.SEVERE, PasswordUtil.class.getName(), "convert_to_bytes", "PASSWORDUTIL_UNSUPPORTEDENCODING_EXCEPTION", e);
              return null;
          }
      }