🔢 Non-cryptographic hash to verify data integrity.
6 Commits
.editorconfig | ||
.gitignore | ||
Benchmarks_test.go | ||
go.mod | ||
hash_test.go | ||
hash.go | ||
LICENSE | ||
README.md |
hash
This is a non-cryptographic hash (aka checksum) to verify data integrity.
API
sum := hash.Bytes(data)
You can use strconv.FormatUint(sum, 16)
to get a string in hexadecimal format.