public String toShortLogString() {
    final var hexRepresentation = toFastHex(false);
    String firstPart = hexRepresentation.substring(0, 5);
    String lastPart = hexRepresentation.substring(hexRepresentation.length() - 5);
    return firstPart + "....." + lastPart;
  }
For logging purposes, this method returns a shortened hex representation

@return shortened string with only the beginning and the end of the hex representation
datatypes/src/main/java/org/hyperledger/besu/datatypes/Hash.java