hsh

Simple file hash digests & file integrity checks

Home

Install Guide

Usage

FAQ

Issue Reporting

Changelog

Quickstart Guide


File Hash Digest Reports

The following examples demonstrate how to generate file hash digests with the supported hash algorithms:

Default SHA256 Hash Digest

$ hsh somefile.txt

MD5 Hash Digest

$ hsh md5 somefile.txt

SHA1 Hash Digest

$ hsh sha1 somefile.txt

SHA224 Hash Digest

$ hsh sha224 somefile.txt

SHA256 Hash Digest

$ hsh sha256 somefile.txt

SHA384 Hash Digest

$ hsh sha384 somefile.txt

SHA512 Hash Digest

$ hsh sha512 somefile.txt



File Integrity Comparisons

The following examples demonstrate how to perform hash digest based file integrity checks using the supported hash algorithms:

File to File Comparison (SHA256 Hash Digest Comparison by Default)

$ hsh file-pre.txt file-post.txt

File to Hash Digest Comparison (MD5)

$ hsh somefile.txt <MD5 hash digest>

File to Hash Digest Comparison (SHA1)

$ hsh somefile.txt <SHA1 hash digest>

File to Hash Digest Comparison (SHA224)

$ hsh somefile.txt <SHA224 hash digest>

File to Hash Digest Comparison (SHA256)

$ hsh somefile.txt <SHA256 hash digest>

File to Hash Digest Comparison (SHA384)

$ hsh somefile.txt <SHA384 hash digest>

File to Hash Digest Comparison (SHA512)

$ hsh somefile.txt <SHA512 hash digest>

Hash Digest to Hash Digest Comparison

$ hsh <hash digest 1> <hash digest 2>