@Override
  public int hashCode() {
    return Objects.hash(
        Arrays.hashCode(aesSecret),
        Arrays.hashCode(macSecret),
        Arrays.hashCode(token),
        egressMac,
        ingressMac);
  }
Performs an equals comparison with the ability to flip the MAC comparison, catering for
scenarios where we want to compare the handshake secrets on opposing ends of a channel.

@param o The object whose equality to test with this.
@param flipMacs Whether the egress MAC should be compared against the ingress MAC, and
    viceversa.
@return Whether both objects are equal or not.
ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/rlpx/handshake/HandshakeSecrets.java