Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + const PrivateKeySize + const PublicKeySize + const SeedSize + const SignatureSize + func GenerateKey(rand io.Reader) (PublicKey, PrivateKey, error) + func Sign(privateKey PrivateKey, message []byte) []byte + func Verify(publicKey PublicKey, message, sig []byte) bool + type PrivateKey []byte + func NewKeyFromSeed(seed []byte) PrivateKey + func (priv PrivateKey) Equal(x crypto.PrivateKey) bool + func (priv PrivateKey) Public() crypto.PublicKey + func (priv PrivateKey) Seed() []byte + func (priv PrivateKey) Sign(rand io.Reader, message []byte, opts crypto.SignerOpts) (signature []byte, err error) + type PublicKey []byte + func (pub PublicKey) Equal(x crypto.PublicKey) bool