-
Notifications
You must be signed in to change notification settings - Fork 253
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
reuse the hasher after finalized? #429
Comments
Use |
i think i didn't make it clear - it's not about resetting the state. i.e. continue to write more data after finalize() and finalize() again with more data. |
Then you want to |
Also, merlin was more designed for this sort of thing. As an aside, rust maybe needs some |
It appears https://docs.rs/replace_with/ provides equivalent functionality to the |
it seems the
finalize()
will consume the hasher:https://docs.rs/md-5/latest/md5/trait.Digest.html#tymethod.finalize
how ever it doesn't reset the state.
how to reuse and write more data into the hasher after finalized()?
The text was updated successfully, but these errors were encountered: