Versions in this module Expand all Collapse all v0 v0.0.1 Sep 9, 2021 Changes in this version + var ErrCurve = errors.New("unsupport curve") + var ErrPubKey = errors.New("no valid solution for pubkey found") + func Recover(curve elliptic.Curve, r, s, v *big.Int, hash []byte) (*ecdsa.PublicKey, bool, error) + func RecoverWithNonce(curve elliptic.Curve, r, s, v *big.Int, hash []byte, nonce int) (*ecdsa.PublicKey, bool, error) + func Sign(privateKey *ecdsa.PrivateKey, hash []byte, compressed bool) (*big.Int, *big.Int, *big.Int, error) + func SignWithNonce(privateKey *ecdsa.PrivateKey, hash []byte, nonce int, compressed bool) (*big.Int, *big.Int, *big.Int, error) + type Cofactor interface + H func() int