zebra_consensus::primitives::groth16

Function h_sig

source
pub(super) fn h_sig(
    random_seed: &RandomSeed,
    nf1: &Nullifier,
    nf2: &Nullifier,
    joinsplit_pub_key: &VerificationKeyBytes,
) -> [u8; 32]
Expand description

Compute the h_{Sig} hash function which is used in JoinSplit descriptions.

random_seed: the random seed from the JoinSplit description. nf1: the first nullifier from the JoinSplit description. nf2: the second nullifier from the JoinSplit description. joinsplit_pub_key: the JoinSplit public validation key from the transaction.