Versions in this module Expand all Collapse all v0 v0.0.1 May 7, 2020 Changes in this version + func Register(s string, new NewCurve) + func SupportedCurves() string + type Curve interface + GenerateKeyPair func(entropy []byte) (PrivateKey, error) + LoadPrivateKey func(data []byte) (PrivateKey, error) + LoadPublicKey func(data []byte) (PublicKey, error) + Size func() int + func FromString(s string) (Curve, error) + type NewCurve func() Curve + type PrivateKey interface + Bytes func() []byte + DH func(pub []byte) ([]byte, error) + PubKey func() PublicKey + Update func(data []byte) + type PublicKey interface + Bytes func() []byte + Hex func() string + LoadBytes func(data []byte) error