Versions in this module Expand all Collapse all v1 v1.0.0 May 30, 2021 Changes in this version + const PrivateKeySize + const PublicKeySize + const SeedSize + const SignatureSize + func GenerateKey(rand io.Reader) (*PublicKey, *PrivateKey, error) + func NewKeyFromExpandedSeed(seed *[96]byte) (*PublicKey, *PrivateKey) + func NewKeyFromSeed(seed *[SeedSize]byte) (*PublicKey, *PrivateKey) + func SignTo(sk *PrivateKey, msg []byte, signature []byte) + func Verify(pk *PublicKey, msg []byte, signature []byte) bool + type PrivateKey internal.PrivateKey + func (sk *PrivateKey) Bytes() []byte + func (sk *PrivateKey) Equal(other crypto.PrivateKey) bool + func (sk *PrivateKey) MarshalBinary() ([]byte, error) + func (sk *PrivateKey) Pack(buf *[PrivateKeySize]byte) + func (sk *PrivateKey) Public() crypto.PublicKey + func (sk *PrivateKey) Sign(rand io.Reader, msg []byte, opts crypto.SignerOpts) (signature []byte, err error) + func (sk *PrivateKey) UnmarshalBinary(data []byte) error + func (sk *PrivateKey) Unpack(buf *[PrivateKeySize]byte) + type PublicKey internal.PublicKey + func (pk *PublicKey) Bytes() []byte + func (pk *PublicKey) Equal(other crypto.PublicKey) bool + func (pk *PublicKey) MarshalBinary() ([]byte, error) + func (pk *PublicKey) Pack(buf *[PublicKeySize]byte) + func (pk *PublicKey) UnmarshalBinary(data []byte) error + func (pk *PublicKey) Unpack(buf *[PublicKeySize]byte)