Skip to content

Use the correct form of md5.Sum. #4184

New issue

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mcsaucy
Copy link

@mcsaucy mcsaucy commented Apr 21, 2025

md5.New().Sum(foo) appends the MD5 hash for nil to foo. See https://go.dev/play/p/vSW0U3Hq4qk (different algo but same issue).

`md5.New().Sum(foo)` appends the MD5 hash for nil to foo.
See https://go.dev/play/p/vSW0U3Hq4qk (different algo but same issue).

Signed-off-by: Josh McSavaney <me@mcsau.cc>
@mcsaucy mcsaucy force-pushed the push-uxvwyunuoxwy branch from ee5ef87 to 1d06d3f Compare April 21, 2025 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant