compute_note_hash_nonce

Function compute_note_hash_nonce 

Source
pub fn compute_note_hash_nonce(
    first_nullifier: &Fr,
    note_hash_index: usize,
) -> Fr
Expand description

Compute the nonce for a note hash from the first nullifier and index.

Mirrors TS computeNoteHashNonce(nullifierZero, noteHashIndex).