private String digest(InputStream is) throws IOException {
        return DigestUtils.sha256Hex(is);
    }
Test cases for detecting zip-based files.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-zip-commons/src/test/java/org/apache/tika/detect/zip/ZipDetectionTest.java