@Test
  public void digestWithMaxRounds() {
    // equal to unsigned int max value (4294967295, or signed -1)
    final byte[] rounds = Pack.intToBigEndian(Integer.MIN_VALUE);
    messageDigest.update(rounds, 0, 4);
    messageDigest.update(new byte[213], 0, 209);
    assertThat(messageDigest.digest()).isEqualTo(BLAKE2F_ALL_ZERO_NEGATIVE_ROUNDS);
  }
Test vectors adapted from
https://github.com/keep-network/blake2b/blob/master/compression/f_test.go
crypto/algorithms/src/test/java/org/hyperledger/besu/crypto/Blake2bfMessageDigestTest.java