Add some more human-readable language to the doc comment on merkle_crh_sapling
This commit is contained in:
parent
bb0fe9955b
commit
5e18e72522
|
|
@ -26,6 +26,8 @@ const MERKLE_DEPTH: usize = 32;
|
|||
|
||||
/// MerkleCRH^Sapling Hash Function
|
||||
///
|
||||
/// Used to hash incremental Merkle tree hash values for Sapling.
|
||||
///
|
||||
/// MerkleCRH^Sapling(layer, left, right) := PedersenHash(“Zcash_PH”, l || left || right)
|
||||
/// where l = I2LEBSP_6(MerkleDepth^Sapling − 1 − layer) and
|
||||
/// left, right, and the output are all technically 255 bits (l_MerkleSapling), not 256.
|
||||
|
|
|
|||
Loading…
Reference in New Issue