Description
Adds X25519 key exchange support for Ruby, implementing Curve25519 Diffie-Hellman behavior described in RFC 7748. It is useful for protocols that need efficient public-key key agreement.
Key exchange is only one part of a secure protocol. Authenticate peers, protect private keys, use modern authenticated encryption, and avoid designing custom protocols without review.