We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Digest is not a good name. Normally "digest" refers to the output of the hash function.
In v3 we could consider renaming it; perhaps to Hash.
Hash
Typical code probably doesn't refer to Digest by name and doesn't have to change:
Digest
d := xxhash.New() ... call d.Write() ... x := d.Sum64()
The text was updated successfully, but these errors were encountered:
Hash also refers the output of a hash function :)
Sorry, something went wrong.
Yes, but it it is also the name of the type of function...as in hash function. (Plus this matches hash.Hash.)
hash.Hash
Open to better suggestions though :)
cespare
No branches or pull requests
Digest is not a good name. Normally "digest" refers to the output of the hash function.
In v3 we could consider renaming it; perhaps to
Hash
.Typical code probably doesn't refer to
Digest
by name and doesn't have to change:The text was updated successfully, but these errors were encountered: