> For the complete documentation index, see [llms.txt](https://docs.xeratoken.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xeratoken.xyz/3.-zero-knowledge-privacy-system/3.1-cryptographic-foundations.md).

# 3.1 Cryptographic Foundations

Xera’s privacy guarantees derive from an interplay of commitments, nullifiers, and zero-knowledge proofs. Commitments encode values such that amounts remain hidden while ensuring that values cannot be modified after creation. Nullifiers prevent double spending by marking notes as consumed without linking them to specific commitments. Zero-knowledge proofs bind these components together, demonstrating ownership and balance correctness without revealing identities or values.

These primitives enable a decentralized, privacy-preserving state machine. Nodes validate proofs deterministically while remaining unaware of sensitive transaction details. Because proofs are succinct and efficient to verify, the system maintains scalability even as the shielded pool grows. This cryptographic foundation ensures alignment between confidentiality, security, and decentralization.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.xeratoken.xyz/3.-zero-knowledge-privacy-system/3.1-cryptographic-foundations.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.
