-
I need to verify the merkle root hash within a circuit. That hash is also onChain and it's one of the public inputs to my circuit. I've seen that keccak256 hash function has been deprecated. What do you suggest to write a circuit that needs to verify that from a leaf (private input) we get up to the root hash (public input)? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Keccak256 is not deprecated, you can find it here: https://github.com/noir-lang/keccak256 |
Beta Was this translation helpful? Give feedback.
-
Can you share where is it shown deprecated? Would love to get that fixed. |
Beta Was this translation helpful? Give feedback.
-
Yup - I was importing like I used to do from STD library (but was getting an error) and searching through your commits I found a commit that was saying "deprecating keccak256" - that I think was one of the build in preparation for the 1.0.0 release. |
Beta Was this translation helpful? Give feedback.
Keccak256 is not deprecated, you can find it here: https://github.com/noir-lang/keccak256