Versions in this module
v1
Jan 19, 2023
Jun 10, 2022
Changes in this version
+
func RecoverPlain(hash []byte, R, S, Vb *big.Int, homestead bool) ([]byte, error)
—
darwin/amd64, linux/amd64, windows/amd64
Apr 26, 2021
Oct 21, 2020
Oct 21, 2020
Nov 3, 2020
Oct 30, 2020
Changes in this version
+
func DecompressPubkey(pubkey []byte) (*ecdsa.PublicKey, 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
type PrivateKey
type PublicKey
type Sig
Apr 22, 2020
Changes in this version
Apr 21, 2020
Mar 30, 2020