xxHash for Go
Calculate a compact checksum for detecting changed data.
cespare · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a new Go module, add github.com/cespare/xxhash/v2 at v2.3.0. Hash a fictional note with both the stream and direct APIs and compare them.
What we tested
v2.3.0. Hash a fictional note with both the stream and direct APIs and compare them. Matched the streamed and direct checksums and detected a changed fixture.