Versions in this module Expand all Collapse all v2 v2.3.2 Jan 31, 2024 v2.1.0 Feb 7, 2022 Changes in this version + const MinSigLen + func RecoverCompact(signature, hash []byte) (*btcec.PublicKey, bool, error) + func SignCompact(key *btcec.PrivateKey, hash []byte, isCompressedKey bool) ([]byte, error) + type Error = secp_ecdsa.ErrorKind + type ErrorKind = secp_ecdsa.ErrorKind + type Signature = secp_ecdsa.Signature + func NewSignature(r, s *btcec.ModNScalar) *Signature + func ParseDERSignature(sigStr []byte) (*Signature, error) + func ParseSignature(sigStr []byte) (*Signature, error) + func Sign(key *btcec.PrivateKey, hash []byte) *Signature