·9 min
X3DH and the Triple Envelope: the full mathematics of an Enchant session
The complete walk-through of how two devices turn public prekeys into a private, forward-secret session — every Diffie-Hellman, KDF, and Envelope turn, with the equations.