Skip to content
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

Correctly hash messages where the input length was 55 + (64*n) or 111 + (128*n) #9

Merged
merged 2 commits into from
Apr 23, 2024

Conversation

Dekkonot
Copy link
Owner

In SHA modules, there is an issue hashing messages whose lengths were 55 + (64 * n) or 111 + (128 * n), where n is any integer.

This corrects the issue and adds a test to make sure it won't happen again.

Closes #8.

@Dekkonot Dekkonot merged commit d126993 into main Apr 23, 2024
8 checks passed
@Dekkonot Dekkonot deleted the patch-1 branch April 23, 2024 00:28
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.

SHA-256 breaks when input is 55 + (64 * n) characters long
1 participant