aztec-nr - noir_aztec::protocol::hash

Function compute_siloed_note_hash

pub fn compute_siloed_note_hash(
    contract_address: AztecAddress,
    note_hash: Field,
) -> Field

Siloing in the context of Aztec refers to the process of hashing a note hash with a contract address (this way the note hash is scoped to a specific contract). This is used to prevent intermingling of notes between contracts.