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
The pkgs md5, sha1 and sha256 all have a BlockSize constant of 64 (bytes). Feeding hash.Write() with 64byte chunks should fix the cksums.
hash.Write()
The text was updated successfully, but these errors were encountered:
Generate checksum for a file in Go
Sorry, something went wrong.
fix cksums by feeding them data, not counters
d497cf7
No branches or pull requests
The pkgs md5, sha1 and sha256 all have a BlockSize constant of 64 (bytes).
Feeding
hash.Write()
with 64byte chunks should fix the cksums.The text was updated successfully, but these errors were encountered: