APISonar


com.google.common.io.Files.hash

> com > google > common > io > Files > hash
com APIs google APIs common APIs io APIs Files APIs hash APIs

Example 1
public static String md5(File file) {
        try {
            HashCode hc = Files.hash(file, Hashing.md5());
            return toHex(hc.asBytes());
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }