docs: public static String toHex(byte[] bytes) {
      StringBuffer buffer = new StringBuffer();
  
      for (byte b : bytes) {
        buffer.append(String.format("%02X", b));
      }
  
      return buffer.toString();
    }