◄ Wiki / Crypto
X25519
A fast, widely trusted method for two parties to agree on a shared secret over an open channel.
X25519 is a Diffie-Hellman key exchange built on the Curve25519 elliptic curve; two sides exchange public values and each computes the same shared secret that an eavesdropper cannot derive. It's popular because it's fast and hard to misuse. A careful implementation adds low-order-point rejection, refusing crafted inputs that would weaken the resulting secret.
See also
- X25519 / Curve25519Curve25519 is the underlying math; X25519 is the key-agreement function built on it.
- zsecThe project's self-contained security core, built without relying on outside libraries.
- volatileA C keyword that tells the compiler a variable's memory must really be touched and not optimized away.