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
Tip5
Tip5 has the following functions for hashing:
pub fn hash_10(input: &[BFieldElement; 10]) -> [BFieldElement; Digest::LEN] { … } pub fn hash_pair(left: Digest, right: Digest) -> Digest { … } pub fn hash<T: BFieldCodec>(value: &T) -> Digest { … } pub fn hash_varlen(input: &[BFieldElement]) -> Digest { … }
This feels somewhat excessive. Try to streamline the interface, or document the differences and each function's necessity.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Tip5
has the following functions for hashing:This feels somewhat excessive. Try to streamline the interface, or document the differences and each function's necessity.
The text was updated successfully, but these errors were encountered: