# Deriving the Stealth Public Key

The stealth public key stPK is used to generate a unique address that only Alice can access:

* stPK is computed as:

stPK=spk+S⋅G

Where:

* spk is Alice’s signing public key.
* S is the shared secret.
* G is the elliptic curve generator point.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.0x0.ai/0x0-ecosystem/arcane-privacy-wallet/deriving-the-stealth-public-key.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
