@Override
    public Checksum compute(final InputStream in, final TransferStatus status) throws BackgroundException {
        return this.compute(status.getLength(), super.digest("SHA-256", this.normalize(in, status), status));
    }
@Test
    public void testDigest() throws Exception {
        final byte[] bytes = "1".getBytes(StandardCharsets.UTF_8);
        assertEquals("HbkcOE7OuVb-kpfNRqNanXMu9LKEVu2cIVIB0Me6Q_Y", new ChunkListSHA256ChecksumCompute()
                .compute(new ByteArrayInputStream(bytes), new TransferStatus().withLength(bytes.length)).hash);
        assertEquals("07_pjo8c6JFhSFRWmiD19FCNarQCW4crezqCgu91sSo", new ChunkListSHA256ChecksumCompute()
                .compute(new ByteArrayInputStream(new byte[0]), new TransferStatus().withLength(0L)).hash);
    }