Versions in this module Expand all Collapse all v1 v1.0.0 Aug 5, 2026 Changes in this version + func Generate(curve ecdh.Curve) (*ecdh.PrivateKey, error) + func GenerateX25519() (*ecdh.PrivateKey, error) + func ParsePrivateKey(curve ecdh.Curve, b []byte) (*ecdh.PrivateKey, error) + func ParsePublicKey(curve ecdh.Curve, b []byte) (*ecdh.PublicKey, error) + func SharedSecret(priv *ecdh.PrivateKey, peerPub *ecdh.PublicKey) ([]byte, error)