Versions in this module Expand all Collapse all v0 v0.2.0 Nov 15, 2024 v0.1.0 Oct 6, 2024 Changes in this version + var ErrHashUnavailable = errors.New("ecdsa: requested hash function is unavailable") + type Signer struct + Rand io.Reader + func NewSigner(priv *ecdsa.PrivateKey, hash crypto.Hash) (*Signer, error) + func (s *Signer) Sign(message []byte) ([]byte, error) + type Verifier struct + func NewVerifier(pub *ecdsa.PublicKey, hash crypto.Hash) (*Verifier, error) + func (v *Verifier) Verify(message []byte, signature []byte) (bool, error)