> 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_app_siloed_shared_secret

Module: `noir_aztec::keys::ecdh_shared_secret`

```rust
pub fn compute_app_siloed_shared_secret(
    shared_secret: EmbeddedCurvePoint,
    contract_address: AztecAddress,
) -> Field
```

Computes an app-siloed shared secret from a raw ECDH shared secret point and a contract address.

`s_app = h(DOM_SEP__APP_SILOED_ECDH_SHARED_SECRET, S.x, S.y, contract_address)`
