This commit is contained in:
Reinhard Pointner 2017-04-16 00:40:40 +08:00
parent e649147740
commit a442f32ae3
1 changed files with 4 additions and 0 deletions

View File

@ -107,6 +107,10 @@ public final class VerificationUtilities {
return computeHash(file, HashType.SFV);
}
public static String sha256(File file) throws IOException, InterruptedException {
return computeHash(file, HashType.SHA256);
}
private VerificationUtilities() {
throw new UnsupportedOperationException();
}