Versions in this module
v0
Aug 11, 2023
Changes in this version
+
func DecompressPubkey(pubkey []byte) (*ecdsa.PublicKey, error)
—
darwin/amd64, linux/amd64, windows/amd64
+
func RecoverPlain(hash []byte, R, S, Vb *big.Int, homestead bool) ([]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