public static String getSha256Checksum(@NotNull Path path) throws IOException {
    try {
      MessageDigest algorithm = MessageDigest.getInstance("SHA-256");
      return getFileDigest(algorithm, path);
    }
    catch (NoSuchAlgorithmException e) {
      throw new RuntimeException(e);
    }
  }
public static String getSha256Checksum(@NotNull Path path)