Inherits Beryl::TLS::KeyExchange < Reference < Object
X25519 (RFC 7748).
The public key as it goes in a key_share entry.
Returns the shared secret with the peer's peer_key_exchange, or raises illegal_parameter for a key that is malformed or of small order (§4.2.8.2, RFC 7748 §6.1).
illegal_parameter