# Advanced Topics

URL: https://docs.hanzo.ai/docs/zap/advanced

> Post-quantum cryptography, consensus, identity, and blockchain integration

This section covers advanced ZAP features including post-quantum cryptography, distributed consensus, decentralized identity, and blockchain integration.

- [Post-Quantum Cryptography](https://docs.hanzo.ai/docs/zap/advanced/post-quantum): ML-KEM, ML-DSA, and hybrid handshakes
- [Corona Consensus](https://docs.hanzo.ai/docs/zap/advanced/corona): Threshold lattice-based signing
- [Agent Consensus](https://docs.hanzo.ai/docs/zap/advanced/agent-consensus): Voting-based response aggregation
- [W3C DID Support](https://docs.hanzo.ai/docs/zap/advanced/did): Decentralized identity integration
- [Lux Integration](https://docs.hanzo.ai/docs/zap/advanced/lux): Blockchain anchoring and staking

## Security Architecture

ZAP implements defense-in-depth security:

1. **Transport Layer**: Post-quantum hybrid TLS (X25519 + ML-KEM-768)
2. **Message Layer**: ML-DSA-65 signatures for authentication
3. **Identity Layer**: W3C DIDs with on-chain verification
4. **Consensus Layer**: Corona threshold signing

## When to Use Advanced Features

| Feature         | Use Case                                            |
| --------------- | --------------------------------------------------- |
| PQ-TLS          | Long-term data protection against quantum attacks   |
| Corona          | Multi-party signing without single point of failure |
| Agent Consensus | Aggregating responses from multiple AI agents       |
| W3C DID         | Decentralized identity without central authority    |
| Lux Integration | On-chain verification and staking                   |

- [Post-Quantum Cryptography](https://docs.hanzo.ai/docs/zap/advanced/post-quantum): ML-KEM, ML-DSA, and hybrid key exchange in ZAP
- [Corona Consensus](https://docs.hanzo.ai/docs/zap/advanced/corona): Threshold lattice-based signing for distributed agents
- [Agent Consensus](https://docs.hanzo.ai/docs/zap/advanced/agent-consensus): Voting-based response aggregation for multi-agent systems
- [W3C DID Support](https://docs.hanzo.ai/docs/zap/advanced/did): Decentralized identity integration in ZAP
- [Lux Integration](https://docs.hanzo.ai/docs/zap/advanced/lux): Blockchain anchoring and staking on Lux Network
