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

use a strong hash from MAC commitments #260

Open
themighty1 opened this issue Mar 17, 2025 · 0 comments
Open

use a strong hash from MAC commitments #260

themighty1 opened this issue Mar 17, 2025 · 0 comments

Comments

@themighty1
Copy link
Collaborator

Currently a TCCR hash is used for MAC commitments

let expected = hasher.tccr(Block::from((id as u128).to_be_bytes()), *mac.as_block());

We should use a stong hash like e.g. blake3 instead.

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

No branches or pull requests

1 participant