Search in sources :

Example 1 with Digester

use of com.pixbits.lib.io.digest.Digester in project rom-manager by Jakz.

the class DigestVerifier method setup.

@Override
public void setup(GameSet romset) {
    HashCache<Rom> cache = romset.hashCache();
    VerifierOptions options = new VerifierOptions(true, false, false, true);
    DigestOptions doptions = new DigestOptions(options, true);
    Digester digester = new Digester(doptions);
    verifier = new Verifier<>(options, digester, cache);
}
Also used : Rom(com.github.jakz.romlib.data.game.Rom) VerifierOptions(com.pixbits.lib.io.archive.VerifierOptions) DigestOptions(com.pixbits.lib.io.digest.DigestOptions) Digester(com.pixbits.lib.io.digest.Digester)

Aggregations

Rom (com.github.jakz.romlib.data.game.Rom)1 VerifierOptions (com.pixbits.lib.io.archive.VerifierOptions)1 DigestOptions (com.pixbits.lib.io.digest.DigestOptions)1 Digester (com.pixbits.lib.io.digest.Digester)1