Core
Post-Quantum Cryptography
Overview
All crypto lives in oa/crypto/. No BLS. No ECDSA. No Ed25519. 100% post-quantum from day one.
Primitives
| Primitive | Purpose | Header |
|---|---|---|
| Dilithium-3 (ML-DSA-65) | All signatures | oa/crypto/sign.h |
| SHAKE-256 | Hash, address, Merkle, state root | oa/crypto/hash.h |
| KMAC-256 | Keyed MAC | oa/crypto/keccak.h |
GPU-Accelerated Verification
OaDilithiumVerifyBatch() runs batch signature verification on GPU via GPU compute. 1.26M verifications per second on consumer hardware. CPU signing at 45K signs/sec.
Key Types
| Type | Size | Notes |
|---|---|---|
OaHash | 32 bytes | SHAKE-256 output |
OaPublicKey | 2,528 bytes | Dilithium-3 |
OaSecretKey | 4,000 bytes | Move-only |
OaSignature | 3,293 bytes | Dilithium-3 |