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

Add Digest.updateDigest open functions to override #34

Merged
merged 3 commits into from
Apr 12, 2023

Conversation

05nelsonm
Copy link
Member

@05nelsonm 05nelsonm commented Apr 12, 2023

Closes #32

This PR adds protected open function updateDigest methods which implementations can choose to override in order to intercept input before it is added to the delegate's buffer. All external input arguments from update are checked prior to directing to updateDigest.

@05nelsonm 05nelsonm self-assigned this Apr 12, 2023
Copy link
Member Author

@05nelsonm 05nelsonm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@05nelsonm 05nelsonm merged commit 5660a21 into master Apr 12, 2023
@05nelsonm 05nelsonm deleted the issue/32-update-override branch April 12, 2023 11:53
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.

Digest.update needs to be overridden for some algorithms
1 participant