Skip to content

Add Digest.updateDigest open functions to override#34

Merged
05nelsonm merged 3 commits intomasterfrom
issue/32-update-override
Apr 12, 2023
Merged

Add Digest.updateDigest open functions to override#34
05nelsonm merged 3 commits intomasterfrom
issue/32-update-override

Conversation

@05nelsonm
Copy link
Copy Markdown
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
Copy Markdown
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