Versions in this module Expand all Collapse all v1 v1.8.0 Mar 11, 2022 v1.5.5 Jan 31, 2022 Changes in this version + const PrivateKeySize + const PublicKeySize + const SeedSize + const SignatureSize + func GenerateKey(rand io.Reader) (PublicKey, PrivateKey, error) + func Keccak512(data []byte) ([]byte, error) + func Sign(privateKey PrivateKey, message []byte) ([]byte, error) + func Verify(publicKey PublicKey, message, sig []byte) (bool, error) + type PrivateKey []byte + func NewKeyFromSeed(seed []byte) (PrivateKey, error) + 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 (p PublicKey) Bytes() []byte