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