utils
Standalone Functions
compute_inner_note_hash
compute_inner_note_hash(note);
Parameters
Name | Type |
---|---|
note | Note |
compute_siloed_nullifier
compute_siloed_nullifier(note_with_header, context);
Parameters
Name | Type |
---|---|
note_with_header | Note |
context | &mut PrivateContext |
compute_note_hash_for_read_request_from_innter_and_nonce
compute_note_hash_for_read_request_from_innter_and_nonce(inner_note_hash, nonce);
Parameters
Name | Type |
---|---|
inner_note_hash | Field |
nonce | Field |
compute_note_hash_for_read_request
compute_note_hash_for_read_request(note);
Parameters
Name | Type |
---|---|
note | Note |
compute_note_hash_for_consumption
compute_note_hash_for_consumption(note);
Parameters
Name | Type |
---|---|
note | Note |
compute_note_hash_and_optionally_a_nullifier
compute_note_hash_and_optionally_a_nullifier(deserialize_content);
Parameters
Name | Type |
---|---|
deserialize_content | fn([Field; N] |