-
-
Notifications
You must be signed in to change notification settings - Fork 86
[Cryptography] Optimize hash functionality #863
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
Conversation
wangkanai
commented
Jul 23, 2023
- Adler32 if more than 4096, how to split into chuck.
- [ ] Adler32 if more than 4096, how to split into chuck.
[System] add string extensions unit tests
[System] fixed the failed whitespace unit test
wangkanai
left a comment
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.
complete review
Cryptography/src/Adler32.cs
Outdated
| public static int Checksum(string text) | ||
| => Checksum(Encoding.ASCII.GetBytes(text)); | ||
| { | ||
| return Checksum(Encoding.ASCII.GetBytes(text)); |
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.
Should check if length greater than 4096 before converting to byte[]?
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.
Need to check the performance difference and make a decision
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.
|
信已收到
|
|
SonarCloud Quality Gate failed.
|









