diff --git a/source/net/filebot/hash/VerificationUtilities.java b/source/net/filebot/hash/VerificationUtilities.java index e34ffd19..70014d85 100644 --- a/source/net/filebot/hash/VerificationUtilities.java +++ b/source/net/filebot/hash/VerificationUtilities.java @@ -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(); }