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

Switch sha256 to Blake2s #49

Closed
AntoineRondelet opened this issue Aug 13, 2019 · 1 comment
Closed

Switch sha256 to Blake2s #49

AntoineRondelet opened this issue Aug 13, 2019 · 1 comment
Assignees
Labels
arithmetic-circuit/R1CS Task related to the R1CS programs optimization Optimization task

Comments

@AntoineRondelet
Copy link
Contributor

Blake2s (see: https://blake2.net/) looks more efficient - constraint-wise - than sha256. Hence, we should consider switching to this hash function when possible to diminish the number of multiplicative gates in the arithmetic circuit.

Related discussion: zcash/zcash#2630

@AntoineRondelet AntoineRondelet added arithmetic-circuit/R1CS Task related to the R1CS programs optimization Optimization task labels Aug 13, 2019
@AntoineRondelet
Copy link
Contributor Author

Closing as the corresponding PR was merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arithmetic-circuit/R1CS Task related to the R1CS programs optimization Optimization task
Projects
None yet
Development

No branches or pull requests

2 participants