#!/bin/sh
(
    HASH=$(sha256sum "$1")
    # send EOF to end the zenity progress dialog
    exec 1>&-
    zenity --title="sha256sum" --info --text="$HASH" --no-wrap
) | zenity --progress  --title="sha256sum" --pulsate --auto-close --no-cancel
