Secure message envelope demo
This page demonstrates how an app can send end-to-end encrypted chat over a relay (like Socket.IO): header + ciphertext. The server only sees the envelope, not the plaintext.
In production this secret would come from a key agreement (e.g., X25519) and be rotated per session.