@Test
public void whenInputIsByteOutputShouldBeHashed() {

    byte[] hash = Sha256.hash(ByteUtils.hexStringToByteArray("afc47cff"));
    Assert.assertTrue("Hash must be e3f4a8d4eeedd1cada0c4cf2e2f457343a18544160292aa83e3b8d59f23bc375",
            Arrays.equals(ByteUtils.hexStringToByteArray("e3f4a8d4eeedd1cada0c4cf2e2f457343a18544160292aa83e3b8d59f23bc375"), hash));
}