You can use nhash to hash a file and get the output instantly. The usage options are simple:
$ nhash --helpUsage: nhash [options] [file]Options: -h, --help output usage information -V, --version output the version number -a, --algorithm <sha1> the hash alorithm -e, --encoding <hex> the encoding of output