Requirements: Go 1.25 or newer
go build
./hsh --help
Usage of ./hsh: [OPTION]... [FILE]...
With no FILE, or when FILE is -, read standard input.
Call -algo [ALGO] for each hash you want to generate.
The window flag controls how many bytes to consider for each chunk.
The same algorithm with different window sizes will generate different hashes.
Example: hsh -algo ctph -algo simhash main.go
-algo value
choose a hashing algorithm, available are: ctph, simhash
-w int
window size (default 7)INPUT_FILE ~ ALGO|WINDOW ~ HASH