Command line hasher for linux file verification written in Kotlin using picoCLI
./gradlew runJar path is build/libs/hasher-all.jar
./gradlew shadowJarbrew tap mckernant1/tap
brew install hasherTo hash a file or directory with a given name
hasher hash myhash ~/Desktop/test.txtTo list all hashes
hasher ls To list all files for a hash
hasher ls myhashTo check a hash
hasher 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"
}
}
}
}