Protocol · v1.0
Eight-step protocol breakdown. Cryptographic primitives. Bilateral exchange flow. Key rotation and hash-chain audit.
Flow · 8 Steps
◆ Sender · ● Recipient · ○ Bilateral
Normalize Identifiers
Raw identifiers are normalized — phone numbers to E.164 format, emails to lowercase and trimmed. Both parties produce identical hashes from identical underlying identifiers.
■ E.164 · RFC 3966SHA-256 Hash
Each normalized identifier is hashed with SHA-256 client-side. Output is the only data that will be exchanged — never the raw identifier. One-way function; cannot be reversed.
■ FIPS 180-4 · RFC 6234HKDF Key Derivation
A derived key is computed using HKDF-SHA256 over the Sender's master, the Recipient's public commitment, and a per-segment salt. Unique to this exchange. Neither party derives alone.
■ HKDF-SHA256 · RFC 5869AES-256-GCM Wrap
Each SHA-256 hash is encrypted with AES-256-GCM using the derived key + unique nonce + segment metadata as AAD. Output is a wrapped token with no recoverable identifier information.
■ AES-256-GCM · FIPS 197 · NIST SP 800-38DEd25519 Sign
The Sender signs the bundle metadata with Ed25519. The signature proves origin and integrity. 64-byte deterministic signature. 10× faster than RSA-2048.
■ Ed25519 · RFC 8032mTLS 1.3 Transmit
Signed, wrapped bundle is transmitted over mutual TLS 1.3. Both parties authenticate. No plaintext passes between environments at any point in the protocol.
■ mTLS 1.3 · RFC 8446Verify Signature
Recipient verifies Ed25519 signature against the Sender's registered public key. Bundle integrity confirmed. Any tampering is detectable — failed verification terminates the exchange.
■ Ed25519 Verify · RFC 8032AES-256-GCM Unwrap
Recipient locally derives the session key using their own master material and the Sender's public commitment + segment salt. Wrapped tokens unwrapped bilaterally. Hashes matched against partner cohort.
■ HKDF · AES-256-GCM · RFC 5869Summary
Both parties contribute key material. Neither side can unilaterally decrypt the exchange. No third-party middleware required.
01
SHA-256 in the browser via Web Crypto API. Raw identifiers never enter the exchange pipeline. Hash is the only data transmitted.
02
HKDF-SHA256 combines both parties' master material + per-segment salt. Neither side derives alone. No credential pool, no central store.
03
Ed25519 signature proof on every bundle. Hash-chained audit log records every step. Integrity verifiable post-exchange.