> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Function compute_note_nullifier

Module: `noir_aztec::note::utils`

```rust
pub fn compute_note_nullifier<let N: u32>(
    note_hash_for_nullification: Field,
    data: [Field; N],
) -> Field
```

Computes a domain-separated note nullifier.

Receives the `note_hash_for_nullification` of the note (usually returned by [`compute_confirmed_note_hash_for_nullification`](/aztec-nr-api/v6.0.0/noir_aztec/note/utils/fn.compute_confirmed_note_hash_for_nullification.md)), plus any arbitrary note `data`. This typically includes secrets, such as the app-siloed nullifier hiding key of the note's owner.

Usage of this function guarantees that different state variables will never produce colliding note nullifiers, even if their underlying notes have different implementations.
