aztec-nr - noir_aztec::authwit::auth

Function compute_authwit_nullifier

pub fn compute_authwit_nullifier(on_behalf_of: AztecAddress, inner_hash: Field) -> Field

Computes the authwit_nullifier for a specific on_behalf_of and inner_hash

Using the on_behalf_of and the inner_hash to ensure that the nullifier is siloed for a specific on_behalf_of.

@param on_behalf_of The address that has authorized the inner_hash @param inner_hash The hash of the message to authorize