docs: public static String encode(String str) {
  		StringBuilder sb = new StringBuilder();
  		char[] arr = str.toCharArray();
  		for (char c : arr) {
  			String s4 = Integer.toHexString(c);
  			sb.append(s4);
  		}
  		return sb.toString();
  	}