Menu

📰
0

PhantomChat v3.0.0: PQXDH (ML-KEM-1024 + X25519) + MLS RFC 9420 + Monero stealth addresses in Rust — pre-audit, looking for crypto review

Cryptography news and discussions·/u/RepulsiveRepublic463·about 1 month ago
#8O6AyI02
Reading 0:00
15s threshold

Built and shipped a desktop messenger that stacks several privacy primitives in one wire format: **Envelope (Monero stealth model)** - Recipient publishes (view_pub, spend_pub) as `phantom:<view>:<spend>` - Sender's ephemeral r: - tag = HMAC(HKDF(r × view_pub, "ViewTag"), epk) - enc_key = HKDF(r × spend_pub, "Envelope") - ciphertext = XChaCha20-Poly1305(enc_key, payload, aad=tag) - Receiver scans every envelope on the relay with view_secret (O(1) ECDH+HMAC per envelope), opens matching ones with spend_secret - Relay structurally cannot link sender↔receiver because every envelope on the wire looks identical **PQXDH hybrid envelope (v2)** - When recipient address carries ML-KEM-1024 pub (`phantomx:` prefix): - enc_key = HKDF(spend_shared || mlkem_shared, "PhantomChat-v2-HybridEnvelope") - Both X25519 and ML-KEM must break to recover - Wire-version-byte distinguishes v1 (classic) from v2 (hybrid) — fully backward compatible **Ratchet bootstrap via ECDH…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More