We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
All of the files contain a million copy and pasted interfaces. Instead I think we should do this more like C.
template <typename HasherType, typename T> auto hash(HasherType h, std::span<T> s) { h.init(); h.update(s.data(), s.size()); const auto result = h.get_digest(); h.destroy(); return result; }
Same thing with update(h, s) and so on and so forth. Discussion of something similar is going on in the Hash2 review. Thoughts @ckormanyos
update(h, s)
The text was updated successfully, but these errors were encountered:
I think this would also help reduce our exposure in #141
Sorry, something went wrong.
No branches or pull requests
All of the files contain a million copy and pasted interfaces. Instead I think we should do this more like C.
Same thing with
update(h, s)
and so on and so forth. Discussion of something similar is going on in the Hash2 review. Thoughts @ckormanyosThe text was updated successfully, but these errors were encountered: