> For the complete documentation index, see [llms.txt](https://polarischain-1.gitbook.io/polarischain/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polarischain-1.gitbook.io/polarischain/4.-cryptographic-foundations-and-compliance-framework/4.3-post-quantum-transport-and-symmetric-security.md).

# 4.3 Post-Quantum Transport & Symmetric Security

**Inter-Validator Session Security**

All P2P connections use **ML-KEM-768**, standardized as the Module-Lattice-Based Key-Encapsulation Mechanism in FIPS 203 (2024). ML-KEM provides post-quantum forward secrecy: even if an adversary records all encrypted traffic today and later acquires a quantum computer, past sessions remain undecryptable. ML-KEM-768 is paired with classical **X25519** in a hybrid handshake (**PQXDH — Post-Quantum Extended Diffie-Hellman**). This defense-in-depth construction ensures session keys remain secure as long as *either* the classical or post-quantum component remains unbroken, providing a secure transition pathway during cryptographic migration.

**Hashing & Data Integrity**

All hash operations use **BLAKE2b-256**, selected for:

* **128-bit post-quantum security** (Grover’s algorithm halves effective bits)
* **Higher throughput** than SHA-256/SHA-3 on modern 64-bit architectures
* **Alignment** with Dilithium2’s NIST Level 2 security target

BLAKE2b-256 is used for block digest computation, transaction pre-hashing, asset/token ID generation, and general-purpose data integrity checks.

**Encryption-at-Rest & Key Derivation**

| Primitive         | Purpose                                            | PQ Security                              |
| ----------------- | -------------------------------------------------- | ---------------------------------------- |
| AES-256-GCM       | Database encryption (RocksDB/LMDB column families) | 128-bit PQ (Grover mitigation)           |
| Argon2id          | Key derivation from operator passphrase            | Quantum-safe (memory-hard symmetric KDF) |
| BLAKE3 keyed-hash | Internal key derivation & MAC                      | Quantum-safe (symmetric construction)    |

All symmetric and KDF primitives are inherently quantum-safe, as quantum computers offer at most quadratic speedup against symmetric cryptography, neutralized by 256-bit key lengths.


---

# 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, and the optional `goal` query parameter:

```
GET https://polarischain-1.gitbook.io/polarischain/4.-cryptographic-foundations-and-compliance-framework/4.3-post-quantum-transport-and-symmetric-security.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
