Versions in this module Expand all Collapse all v1 v1.0.0 May 30, 2021 Changes in this version + var ErrContextNotSupported = errors.New("context not supported") + var ErrPrivKeySize = errors.New("wrong size for private key") + var ErrPubKeySize = errors.New("wrong size for public key") + var ErrSeedSize = errors.New("wrong seed size") + var ErrTypeMismatch = errors.New("types mismatch") + type PrivateKey interface + Equal func(crypto.PrivateKey) bool + Scheme func() Scheme + type PublicKey interface + Equal func(crypto.PublicKey) bool + Scheme func() Scheme + type Scheme interface + DeriveKey func(seed []byte) (PublicKey, PrivateKey) + GenerateKey func() (PublicKey, PrivateKey, error) + Name func() string + PrivateKeySize func() int + PublicKeySize func() int + SeedSize func() int + Sign func(sk PrivateKey, message []byte, opts *SignatureOpts) []byte + SignatureSize func() int + SupportsContext func() bool + UnmarshalBinaryPrivateKey func([]byte) (PrivateKey, error) + UnmarshalBinaryPublicKey func([]byte) (PublicKey, error) + Verify func(pk PublicKey, message []byte, signature []byte, opts *SignatureOpts) bool + type SignatureOpts struct + Context string