Versions in this module Expand all Collapse all v0 v0.2.0 Feb 19, 2019 Changes in this version + type CurveParams struct + BitSize int + Name string + type KeyExchange interface + Check func(peersPublic crypto.PublicKey) (err error) + ComputeSecret func(private crypto.PrivateKey, peersPublic crypto.PublicKey) (secret []byte) + GenerateKey func(rand io.Reader) (private crypto.PrivateKey, public crypto.PublicKey, err error) + Params func() CurveParams + PublicKey func(private crypto.PrivateKey) (public crypto.PublicKey) + func Generic(c elliptic.Curve) KeyExchange + func X25519() KeyExchange + type Point struct + X *big.Int + Y *big.Int