# Homomorphic Encryption

Zodor implements two complementary encryption stacks:

**Paillier Cryptosystem (Backend / Partial Homomorphic)**

The backend uses **Paillier** to compute on encrypted balances without decryption. Useful for:

* **Private balance queries** investor balances can be aggregated for reporting without exposing individual holdings
* **Encrypted dividend computation** payouts computed against ciphertexts
* **Confidential RWA swaps** swap quotes generated against encrypted positions

> "Homomorphic Encryption is a revolutionary cryptographic method that allows computations to be performed on encrypted data without decrypting it."

<figure><img src="/files/NQfquzjoExfZna4kDmki" alt=""><figcaption></figcaption></figure>

***

**Zama fhEVM (On-Chain / Fully Homomorphic)**

For institutional-grade on-chain confidentiality, Zodor ships:

* **`ConfidentialZEROC`** FHE-shielded wrapper around `ZEROC` requiring `KYC_GLOBAL + ESG_VERIFIED`. Carbon trading desks can hold encrypted balances directly on-chain.
* **`ConfidentialSecurityToken`**  generic FHE security token used by `ZIST` tranches and large `ZCET` deals.

Encrypted balances + encrypted transfer amounts + encrypted aggregate accounting fhEVM lets the chain compute on ciphertexts that even validators cannot read.

**Path C - EOA-Direct + Reserve Oracle**

Token uses a third privacy mode tuned for futures-style instruments:

* `balanceOf` is gated to `msg.sender` (and authorised agents)
* `Transfer` events emit `amount = 0`
* `ZodorProofRegistry` anchors off-chain reserve proofs (IPFS + treasury attestations)
* `ZodorReserveOracle_ZCFT` attests live supply against the USDT/USDC inventory in the treasury at `0xe1C7…639F`


---

# 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://whitepaper.zodor.io/system-architecture/overview-of-the-protocol/homomorphic-encryption.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.
