noir-lang / noir

Noir is a domain specific language for zero knowledge proofs
https://noir-lang.org
Apache License 2.0
821 stars 177 forks source link

Add test vectors for pedersen commitments/hashes with non-zero separators #5315

Open TomAFrench opened 6 days ago

TomAFrench commented 6 days ago

We recently ran into an issue during the Noir sync which slipped through due to a lack of tests for non-zero separators.

We should generate some test vectors using an old version of Noir prior to the removal of pedersen blackbox functions, port over the changes from this commit and ensure that the new implementation matches these values.