Versions in this module Expand all Collapse all v0 v0.3.1 Apr 6, 2022 v0.3.0 Apr 5, 2022 Changes in this version + func Curve() elliptic.Curve + func Sign(rand io.Reader, priv *PrivateKey, message []byte) ([]byte, error) + func Verify(pub *PublicKey, message, sig []byte) bool + type PrivateKey struct + D *big.Int + func GenerateKey(c elliptic.Curve, rand io.Reader) (*PrivateKey, error) + func (priv *PrivateKey) Equal(x crypto.PrivateKey) bool + func (priv *PrivateKey) Public() crypto.PublicKey + func (priv *PrivateKey) Sign(rand io.Reader, message []byte, opts crypto.SignerOpts) (signature []byte, err error) + type PublicKey struct + ID []byte + X *big.Int + Y *big.Int + func (pub *PublicKey) Digest() ([]byte, error) + func (pub *PublicKey) Equal(x crypto.PublicKey) bool