RustTURN is an enterprise TURN/STUN/SFU server with 5 in-process H33 post-quantum crypto services. Encrypted session state, ZK frame integrity proofs, and homomorphic billing — all at microsecond latency.
Dilithium-signed, ZKP-verified TURN credentials. The relay learns valid credential, quota, expiry — nothing else. No PII in the credential.
Issue: 244µs · Verify: 0.085µs cachedZK-STARK proofs on every video keyframe. Chain-linked proofs create an unforgeable audit trail that video was not tampered in transit.
Prove: 2.0µs · Verify: 0.2µs · 1.25M streamsBFV FHE-encrypted participant metadata. A rogue sysadmin cannot dump state and see who is on a call with whom. Structural HIPAA guarantee.
Write: 0.42ms · Auth check: 0.26msUsage counters accumulated via FHE addition without decrypting. Tenants verify their own bill by decrypting with their private key.
Accumulate: <1µs · 1.595M updates/secAI transcript words encrypted via BFV before storage. Threshold decrypt (3-of-5) required at LLM input. Every decrypt creates an audit trail.
Encrypt 25 words: 0.42ms · 0.084% STT overhead// H33 services initialize once at startup, share crypto context via Arc let h33_ctx = Arc::new(h33::H33CryptoContext::new()?); let h33_services = Arc::new(h33::H33Services::new(h33_ctx)); // All 5 services are direct function calls — zero network overhead let cred = h33.credential.issue_credential(claim, ttl, quota)?; // 244µs let valid = h33.credential.verify_credential(&cred); // 0.085µs let proof = h33.frame_integrity.prove_keyframe(ssrc, seq, ts, tag)?; // 2.0µs h33.billing.record_bytes(&tenant_hash, bytes_kb); // <1µs FHE add
| Capability | H33 + RustTURN | Twilio | AWS Chime | Vonage |
|---|---|---|---|---|
| Post-quantum signatures | ML-DSA-65 | No | No | No |
| FHE-encrypted session state | BFV (N=4096) | No | No | No |
| ZK frame integrity proofs | ZK-STARK | No | No | No |
| Encrypted billing counters | FHE addition | Plaintext | Plaintext | Plaintext |
| Transcript encryption | BFV + threshold | Plaintext | Plaintext | Plaintext |
| Auth throughput (single node) | 1,595,071/sec | N/A (SaaS) | N/A (SaaS) | N/A (SaaS) |
| Credential verification | 0.085µs | ~50ms (API) | ~100ms (API) | ~75ms (API) |
curl -X POST https://api.h33.ai/api/v1/h33/credentials/issue \ -H "Authorization: Bearer rt_live_..." \ -H "Content-Type: application/json" \ -d '{ "identity_claim": "user_abc123", "ttl_seconds": 300, "bandwidth_quota": 1000000 }' # Response (201 Created) { "credential_id": "a1b2c3...64hex", "credential_b64": "eyJ...", "expires_at": 1709568000, "signature_algorithm": "ML-DSA-65 (Dilithium3)", "proof_system": "ZK-STARK Lookup" }
curl -X POST https://api.h33.ai/api/v1/h33/billing/record \ -H "Authorization: Bearer rt_live_..." \ -d '{ "tenant_hash": "f4e5d6...64hex", "bytes_kb": 2500, "minutes": 5, "allocations": 1 }' # Response — usage accumulated via FHE addition, no decryption occurred { "recorded": true, "operations": 3, "note": "Usage accumulated via FHE addition - no decryption occurred" }
Join the only video infrastructure platform with post-quantum cryptography built in. Not bolted on. Not a sidecar. In-process, at microsecond latency.