-
Notifications
You must be signed in to change notification settings - Fork 953
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
refactor(share/sha-256): Consolidate SHA-256 Hash Function Usage #3330
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for contribution. LGTM
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3330 +/- ##
==========================================
+ Coverage 44.83% 44.92% +0.08%
==========================================
Files 265 273 +8
Lines 14620 15204 +584
==========================================
+ Hits 6555 6830 +275
- Misses 7313 7597 +284
- Partials 752 777 +25 ☔ View full report in Codecov by Sentry. |
@walldiss hi, i've just resolved conflicts with the main branch, which dismissed your review. Can you please review this PR again? Thanks a lot |
…estiaorg#3330) This PR consolidates SHA-256 hash function into the share/hashutils.go, and replaces all the sha256.New() functions with share.NewSHA256Hasher()
Closes
Closes #3275
Notes
This PR consolidates SHA-256 hash function into the
share/hashutils.go
, and replaces all thesha256.New()
functions withshare.NewSHA256Hasher()