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

# Function hash_public_key

Module: `noir_aztec::protocol::public_keys`

```rust
pub fn hash_public_key(p: EmbeddedCurvePoint) -> Field
```

Hashes a public key point under the canonical single-public-key domain separator.

Defined as `Poseidon2(DOM_SEP__SINGLE_PUBLIC_KEY_HASH, x, y)`.
