arkworks-rs / crypto-primitives

Interfaces and implementations of cryptographic primitives, along with R1CS constraints for them
https://www.arkworks.rs
Apache License 2.0
165 stars 79 forks source link

Absorb for MT digest #137

Closed mmagician closed 7 months ago

mmagician commented 7 months ago

Description

Absorbing the Merkle tree digest is a common operation. It'll save us writing: Config::InnerDigest: Absorb or &to_bytes!(&root)

closes: #XXXX


Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why.