@Test
  public void hashimotoLightExample() {
    final int[] cache = EthHash.mkCache(1024, 1L, new EpochCalculator.DefaultEpochCalculator());
    PoWSolution solution =
        EthHash.hashimotoLight(
            32 * 1024,
            cache,
            Bytes.fromHexString("c9149cc0386e689d789a1c2f3d5d169a61a6218ed30e74414dc736e442ef3d1f"),
            0L);

    assertThat(solution.getSolution().toHexString())
        .isEqualTo("0xd3539235ee2e6f8db665c0a72169f55b7f6c605712330b778ec3944f0eb5a557");
    assertThat(solution.getMixHash().toHexString())
        .isEqualTo("0xe4073cffaef931d37117cefd9afd27ea0f1cad6a981dd2605c4a1ac97c519800");
  }
Verifies hashing against block 300005 of the public Ethereum chain.

@throws Exception On Failure
ethereum/core/src/test/java/org/hyperledger/besu/ethereum/mainnet/EthHashTest.java