@SneakyThrows // compute() doesn't throw checked exceptions
    public static String sha256Hex(String string) {
        return sha256DigestCache.get(string, () -> compute(string, DigestObjectPools.SHA_256));
    }
@Test
    public void shouldComputeForAGivenStringUsingSHA_256() {
        String fingerprint = "Some String";
        String digest = sha256Hex(fingerprint);
        assertEquals(DigestUtils.sha256Hex(fingerprint), digest);
    }