public class Hasher
extends java.lang.Object
Constructor and Description |
---|
Hasher() |
Modifier and Type | Method and Description |
---|---|
static long |
computeCRC(java.lang.String filename) |
static java.lang.String |
computeHash(java.lang.String filename) |
static java.lang.String |
toHex(byte[] buf) |
public static java.lang.String toHex(byte[] buf)
public static long computeCRC(java.lang.String filename) throws HashComputationException
HashComputationException
public static java.lang.String computeHash(java.lang.String filename) throws HashComputationException, java.io.IOException
HashComputationException
java.io.IOException