docs: public static String toHex(byte[] byteArray) {
  
          String result = null;
          if (byteArray != null) {
              result = Hex.encodeHexString(byteArray);
          }
          return result;
      }