Versions in this module
v0
Jan 16, 2024
Dec 7, 2023
Nov 3, 2023
Oct 17, 2023
Changes in this version
+
func DecompressPubkey(pubkey []byte) (*ecdsa.PublicKey, error)
—
darwin/amd64, linux/amd64, windows/amd64
+
func EcrecoverWithContext(context *secp256k1.Context, hash, sig []byte) ([]byte, error)
—
darwin/amd64, linux/amd64, windows/amd64
+
func SigToPub(hash, sig []byte) (*ecdsa.PublicKey, error)
—
darwin/amd64, linux/amd64, windows/amd64
+
func Sign(digestHash []byte, prv *ecdsa.PrivateKey) (sig []byte, err error)
—
darwin/amd64, linux/amd64, windows/amd64
+
func VerifySignature(pubkey, digestHash, signature []byte) bool
—
darwin/amd64, linux/amd64, windows/amd64