Function zebra_chain::sprout::tree::merkle_crh_sprout

source ·
fn merkle_crh_sprout(left: [u8; 32], right: [u8; 32]) -> [u8; 32]
Expand description

MerkleCRH^Sprout Hash Function.

Creates nodes of the note commitment tree.

MerkleCRH^Sprout(layer, left, right) := SHA256Compress(left || right).

Note: the implementation of MerkleCRH^Sprout does not use the layer argument from the definition above since the argument does not affect the output.