Command line hasher for linux file verification
##To install
brew tap mckernant1/tools
brew install hasher
To hash a file or directory with a given name
hasher hash myhash ~/Desktop/test.txt
To list all hashes
hash ls
To list all files for a hash
hash ls myhash
To check a hash
hash check myhash
{
hashes: {
hashName: {
files: { // List of paths to verify with their corresponding hash value
"/home/test.txt": "hashValue"
},
options: { // options with their default values
includeWhitespace: false,
includeTimestamp: false,
algorithm: "MD5"
}
}
}
}