Simple hashing for your files
Built with love
• Brought to you by @hurfy
and other contributors
This lightweight and fast project allows you to generate hash sums for files in a specified directory. Hashing is useful for quickly identifying changes in files, comparing versions, or ensuring that files haven't been altered. Its efficiency makes it ideal for processing large numbers of files without a significant delay.
- Supports the following hashing algorithms:
md5
,sha1
,sha256
,sha512
. - Works with files in any specified directory.
- Ability to save hash results in a JSON file for easy reference.
- Option to exclude directories from the hashing process.
- Simple command-line interface for easy usage.
Use make to build:
make build
Or do it yourself:
go build -ldflags "-s -w" ./cmd/hashGo
*You can also see other configurations of Make
Startup example:
hashGo.exe -p C:/Games/SuperDuperGame -o data -f sha256 -e Img;Video -s
Flag | Name | Default | Description |
---|---|---|---|
p | Input Path | Current | Root directory |
o | Output File | None | Output file name(console output if None) |
f | Format | md5 | Hash format(md5, sha1, sha256, sha512) |
s | Subdirs | false | Include subdirectories |
e | Exclude dirs | None | Exclude directories(semicolon-separated) |