Simple file hash digests & file integrity checks
The following examples demonstrate how to generate file hash digests with the supported hash algorithms:
$ hsh somefile.txt
$ hsh md5 somefile.txt
$ hsh sha1 somefile.txt
$ hsh sha224 somefile.txt
$ hsh sha256 somefile.txt
$ hsh sha384 somefile.txt
$ hsh sha512 somefile.txt
The following examples demonstrate how to perform hash digest based file integrity checks using the supported hash algorithms:
$ hsh file-pre.txt file-post.txt
$ hsh somefile.txt <MD5 hash digest>
$ hsh somefile.txt <SHA1 hash digest>
$ hsh somefile.txt <SHA224 hash digest>
$ hsh somefile.txt <SHA256 hash digest>
$ hsh somefile.txt <SHA384 hash digest>
$ hsh somefile.txt <SHA512 hash digest>
$ hsh <hash digest 1> <hash digest 2>